frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Continuing the Story of Early DOS Development – Microsoft Open Source Blog

https://opensource.microsoft.com/blog/2026/04/28/continuing-the-story-of-early-dos-development/
1•corvad•4m ago•0 comments

The Work Between Factories

https://www.cronwell.ai/founder-letters
1•zvbz•6m ago•1 comments

Ask HN: What product analytics are you using?

1•asdev•9m ago•0 comments

Framework 16 Gets Nvidia RTX 5070 12 GB Upgrade Module for Eyewatering Price

https://www.techpowerup.com/348614/framework-laptop-16-gets-nvidia-rtx-5070-12-gb-upgrade-module-...
1•voxadam•10m ago•0 comments

Tencent used Anthropic's Claude to fine-tune it's new Hy3 AI model

https://www.reuters.com/world/china/chinese-companies-used-claude-improve-own-models-anthropic-sa...
1•webninja•10m ago•0 comments

CATL says sodium batteries are mainstream-ready, signs 60 GWh deal

https://electrek.co/2026/04/27/catl-sodium-ion-battery-60gwh-energy-storage-deal/
1•ravenical•13m ago•0 comments

Fedora 44

https://fedoraproject.org/
1•linzhangrun•13m ago•0 comments

Amazon to offer OpenAI models on AWS after Microsoft exclusivity ends

https://www.aboutamazon.com/news/aws/bedrock-openai-models
1•webninja•13m ago•1 comments

Anti-Trump Instagram pic of seashells now enough to indict ex-FBI directors

https://arstechnica.com/tech-policy/2026/04/anti-trump-instagram-pic-of-seashells-now-enough-to-i...
3•duxup•14m ago•1 comments

Five takeaways from the King's historic address to Congress

https://www.bbc.com/news/articles/c8jvl3x19v9o
1•defrost•15m ago•0 comments

Guinea Worm Disease

https://www.cartercenter.org/programs/guinea-worm/
1•gmays•17m ago•0 comments

vLLM-Compile: Bringing Compiler Optimizations to LLM Inference

https://docs.google.com/presentation/d/17WYU9T9qouY20zJg-7n_kV8DrMRJ2LHeNh_WXD6bUmc/view
1•matt_d•17m ago•0 comments

RecipeScape: An Interactive Tool for Analyzing Cooking Instructions at Scale

https://recipescape.kixlab.org/
1•skadamat•26m ago•0 comments

A Tool I Made

https://github.com/kianacaster/pman
1•kianacaster•27m ago•1 comments

Electrical current might be the key to a better cup of coffee

https://arstechnica.com/science/2026/04/electrical-current-might-be-the-key-to-a-better-cup-of-co...
1•Jimmc414•27m ago•0 comments

Modder releases PS5-Linux that turns console into a functional Linux PC

https://www.notebookcheck.net/Modder-releases-PS5-Linux-that-turns-the-console-into-a-fully-funct...
3•voxadam•28m ago•0 comments

Where Have All the Book Reviews Gone?

https://www.nytimes.com/2026/04/27/books/review/ai-book-reviews.html
1•samclemens•29m ago•1 comments

How to Glue Teflon

https://www.quirkyscience.com/how-to-glue-teflon/
2•BiraIgnacio•33m ago•0 comments

Kuleshov Effect

https://en.wikipedia.org/wiki/Kuleshov_effect
1•hyperific•33m ago•0 comments

Toward a Common Alphabet: There Is No Need for Menedzhment

https://zenodo.org/records/19869374
1•iliatoli•34m ago•0 comments

Structured-Prompt-Driven Development (SPDD)

https://martinfowler.com/articles/structured-prompt-driven/
2•cebert•34m ago•0 comments

Evaluating CUDA Tile for AI Workloads on Hopper and Blackwell GPUs

https://arxiv.org/abs/2604.23466
2•matt_d•38m ago•0 comments

What Is a "Now Page"?

https://nownownow.com/about
2•_vaporwave_•39m ago•1 comments

New study reveals why housing booms and busts are built into the system

https://www.kcl.ac.uk/news/new-study-reveals-why-housing-booms-and-busts-are-built-into-the-system
2•littlexsparkee•39m ago•0 comments

Apple wants to kill your Time Capsule, but they run NetBSD so they can't

https://www.osnews.com/story/144845/apple-wants-to-kill-your-time-capsule-but-they-run-netbsd-so-...
3•latexr•41m ago•2 comments

Blog post about Open Source contribution best practices

https://blog.csystemslab.com/blog/2026-04-26-dont-open-a-pull-request-yet/
3•vhcosta•41m ago•1 comments

Claude system prompt bug wastes user money and bricks managed agents

https://github.com/anthropics/claude-code/issues/49363
25•thomashobohm•46m ago•5 comments

Is it incel to want to be a father? [video][30min]

https://www.youtube.com/watch?v=Pf15HmxooMc
4•Bender•46m ago•0 comments

AI Worries Have Returned to Wall Street. Now Come Earnings

https://www.wsj.com/tech/ai-worries-have-returned-to-wall-street-now-come-earnings-d680e19c
4•htk•47m ago•0 comments

Mesa: A Versioned Filesystem for Agents

https://www.mesa.dev/blog/introducing-mesa-filesystem-for-agents
2•state•49m ago•0 comments
Open in hackernews

Ask HN: Why is web auth not a solved issue?

2•zwnow•1y ago
Personally, every project I start, I quit due to not being comfortable with the auth implementation.

I've been into web development for 4 years now. During my research regarding auth in this timeframe, I have found a million reasons on why I should not roll it myself. The reason is always it being to difficult to implement, too much responsibility and basically no matter how I'd do it, it would be unsafe.

The general consensus among web developers seems to be to just let a third party do it. And I understand the reasoning, they are experts and have decades of experience on that specific thing. It makes sense as long as you're fine with third party service dependencies for your application. However, I don't want that. I do not feel comfortable submitting my users data to tech giants for obvious reasons.

I am wondering why it's so difficult to implement secure auth? Why can frameworks like Laravel or Phoenix just generate auth solutions? Why should I trust them, if everyone is saying I shouldn't roll it myself?

After all, if Laravels or Phoenix generated auth isn't safe, I am the one taking responsibility anyway, no?

To my understanding web auth has been an issue for decades now, why aren't there protocols in place to solve it? Or if they are, why aren't they talked about a lot?

Considering how often I read about auth breaches with the big players in the game (Firebase as an example) I am not comfortable trusting third parties with that task either.

So how is one supposed to do it? There are so many JWT tutorials on youtube, but apparently JWTs aren't safe either. Then there are session cookies, which also aren't safe? Why is that?

I am also not talking about authorization. I specifically mean authentication. If I wanted a micro blog platform where users can log into their accounts and write about stuff, how would I make sure it's secure without having to trust third parties, especially big tech companies who repeatedly prove they cant be trusted over and over again?

Comments

arrowsmith•1y ago
> if Laravels or Phoenix generated auth isn't safe

What makes you think they're not safe? Zillions of successful apps have been built using Laravel and Phoenix and (afaik) no-one has hacked their auth code yet. The code is open-source for anyone to inspect for vulnerabilities. I wouldn't feel unsafe using them.

You seem to misunderstand what it means to "roll your own auth".

"Don't roll your own auth" doesn't mean "use a third-party auth provider". It means "use an existing, expert-made auth solution and don't try to write it yourself."

That can be a third-party provider like Firebase, it can be a code dependency like Rails's Devise, it can be generated by `phx.gen.auth` in Phoenix, it doesn't matter - the point is that you're using a tried-and-tested auth solution written by someone who knows what they're doing.

Writing your own auth code is generally a bad idea because it's complicated, time-consuming and easy to get wrong. But there are zillions of off-the-shelf solutions you can use that have been created by security experts and battle-tested in thousands of production apps. As far as I'm concerned, web auth is a solved problem.

zwnow•1y ago
Interesting. When I generate auth for Phoenix the API endpoints are not piped through any security pipes. Only the browser endpoints. Why wouldn't I secure my API endpoints? The same kind of requests that are made for browser requests are sent to the API routes, so this is really confusing.
arrowsmith•1y ago
Ah yes. `phx.gen.auth` generates a cookie-based auth system, which is fine for the :browser pipeline but it's not generally what you want for a JSON API.

The Phoenix docs include a suggestion for how you can extend `phx.gen.auth` to add token-based authentication to your API: https://hexdocs.pm/phoenix/api_authentication.html

(No, this isn't "rolling your own auth" either, it's using someone else's pre-written auth code.)

johncoltrane•1y ago
> The general consensus among web developers seems to be to just let a third party do it.

Outside of personal projects, third-party auth providers must be audited (think GDPR or PIPL), budget must be allowed, contracts signed, etc. so web developers rarely, if ever, have their say on the matter. The decision is taken long before anyone wrote a single line of code. From a project management perspective, it's an easy trade-off to make: one sprint for integrating Okta versus who knows how many for badly implementing something that requires a level of expertise that no one on the team has reached.

For personal projects, the trade-off is a bit different. Resources are scarce so, even if implementing auth is actually not very complicated(1) and can even be quite fun, there are probably more immediately interesting things to do. So you integrate a third-party solution in a wednesday night and you move on.

[1] https://thecopenhagenbook.com/