SShortSingh.
Back to feed

Why Building Your Own Authentication Is Harder to Maintain Than to Write

0
·10 views

Writing a basic login system is quick, but keeping it secure over time is where the real cost lies. Password hashing settings must be periodically raised as hardware improves, which requires an upgrade path for existing hashes. Data protection keys expire and rotate, and losing them makes protected data permanently unreadable. Token-based systems add certificates with their own expiry and rotation needs, and OAuth security guidance such as RFC 9700 evolves, so implementations can fall out of line without code changes. The article argues that frameworks like ASP.NET Core Identity are reasonable foundations, while the ongoing maintenance burden remains even when using them.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Sphinx Git hook quizzes developers on AI-generated code before pushes

Sphinx is a new open-source Git hook that pauses pushes to protected branches and asks the developer quiz questions about what AI-written code actually does. Answering correctly lets the push proceed, while wrong answers prompt the developer to learn and try another scenario. Its yolo flag skips the quiz but records every bypass in a log. Show HN commenters praised the question quality and the slowdown effect, but criticized the quiz as easy to circumvent and unable to catch diff-level defects. The article argues the quiz is a basic, visible control that cannot enforce understanding on its own, so it should be paired with automated checks on the code itself.

0
ProgrammingDEV Community ·

ShelfReady: A Local, Private Tool for Writing Amazon KDP Book Listings

A designer and independent publisher of colouring books on Amazon KDP built ShelfReady to speed up listing creation, which covers titles, subtitles, descriptions and keyword boxes. The tool runs Gemma 3 locally through Ollama and produces a complete listing from a few facts about the book in roughly 40 seconds on an ordinary CPU. It also checks each line against KDP's metadata rules, flagging prohibited phrases such as sales-rank claims or the word "free" that could get a listing suppressed. The project was submitted to the DEV x Hacktoberfest Open-Source AI Challenge, and the author plans to sell it as a one-time licence priced at $19 to $29.

0
ProgrammingDEV Community ·

FreelanceFlow Proposes Privacy-First AI Tool for Freelancer Invoices and Receipts

A developer has proposed FreelanceFlow, an AI-powered assistant for managing invoices, receipts, and expenses aimed at freelancers and small business owners. The tool would let users upload financial documents, extract key details, categorize expenses, and generate summaries, with a free tier and paid plans for higher limits. The planned design relies on an open-weight language model served locally through Ollama, so sensitive client data would not need to be sent to third-party AI services. The developer says the project is still in progress, with a demo and code repository yet to be published. The concept was submitted as part of a Hacktoberfest open-source AI challenge.

0
ProgrammingDEV Community ·

Developer builds graph-based 'company brain' with cited answers and human approval gates

A developer describes building Recall, a system that stores company knowledge such as incidents, pull requests, decisions, chat messages and people as a connected graph rather than relying on standard document retrieval. The aim is to answer causal questions, like why an incident occurred, by tracing a chain of linked evidence that the system cites at each step. Each person gets an isolated memory graph, and outdated facts are superseded rather than deleted, with erasure requests producing receipts. Before carrying out consequential actions such as database migrations, the agent displays the potential impact and waits for human approval, which is logged in the graph. The demo company, Meridian Pay, uses fictional seeded data, though the FalkorDB instance, queries and agent behavior are real.