frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Tesla's Secret Weapon Is a Giant Metal Box

https://www.theatlantic.com/technology/2026/03/tesla-energy-elon-musk-batteries/686236/
1•fortran77•2m ago•1 comments

Xkcd: NPM Edition

https://43081j.com/npm-xkcd/
1•patrikcsak•3m ago•0 comments

Higher tariffs likely this week, says US Treasury

https://www.bbc.com/news/articles/cjwzzq70qgvo
2•tartoran•4m ago•0 comments

Why the Best AI Engineers Are Former Managers

https://www.tolans.com/relay/why-the-best-ai-engineers-are-former-managers
1•jshchnz•5m ago•0 comments

Show HN: I built a browser game where you compete against OpenAI, Anthropic, etc

https://thefrontier.pages.dev
1•adityapatni•6m ago•0 comments

Show HN: LearnCodeGuide- AI tool that analyzes you code and gives a health score

https://www.learncodeguide.com/
1•AndreiDia•7m ago•1 comments

Slosizer: Right-size reserved LLM capacity Based on SLO

https://pypi.org/project/slosizer/
1•neehao•8m ago•0 comments

Copilot Memory now on by default for Pro and Pro+ users in public preview

https://github.blog/changelog/2026-03-04-copilot-memory-now-on-by-default-for-pro-and-pro-users-i...
2•qainsights•10m ago•2 comments

Analytics and Customer Engagement

https://booly.co
1•davismartens•12m ago•1 comments

Blue Brain Nexus – A knowledge graph for data-driven science

https://github.com/BlueBrain/nexus
1•sigalor•15m ago•0 comments

Accessibility Issues Are Often Usability Issues

https://protovate.com/blog/you-dont-need-accessibility-until-you-do/
4•janadiamond•17m ago•1 comments

Gemini encouraged a man to commit suicide to be with his AI wife in theafterlife

https://www.engadget.com/ai/gemini-encouraged-a-man-commit-suicide-to-be-with-his-ai-wife-in-the-...
4•Imustaskforhelp•18m ago•0 comments

Ask HN: Anyone have experience making physical toys that you've sold?

1•general_reveal•20m ago•0 comments

Visualize your context in AI chat

https://99helpers.com/tools/visual-contextual-chat
1•nickk81•24m ago•0 comments

Tracing Discord's Elixir Systems (Without Melting Everything)

https://discord.com/blog/tracing-discords-elixir-systems-without-melting-everything
3•cyndunlop•25m ago•0 comments

Building Public AI with Libraries

https://publicai.network/libraries.html
2•qainsights•25m ago•2 comments

Chinese Cigs

https://www.ciggies.app/
1•sschnei8•26m ago•1 comments

Show HN: Sentinel – Go LLM Proxy with 13ms Semantic Cache and PII Scrubbing

https://sentinelgateway.ai
1•ChipShotz•26m ago•1 comments

NRC Issues First Commercial Reactor Construction Approval in 10 Years [pdf]

https://www.nrc.gov/sites/default/files/cdn/doc-collection-news/2026/26-028.pdf
2•Anon84•28m ago•0 comments

Pieces (macOS): what you did, in what app and when – saved automatically

https://pieces.app/
1•sea-gold•30m ago•0 comments

Starlink Mobile

https://starlink.com/business/mobile
3•e2e4•31m ago•0 comments

Show HN: Athena Flow – a workflow runtime for Claude Code with a terminal UI

2•nadeem1•32m ago•0 comments

SSRFs: The most re-opened security bug in modern web apps

https://tachyon.so/blog/ssrfs-trickiest-issue
4•rahulgovind517•32m ago•1 comments

VibeCheck - comprehension quiz hook for vibe coders, never ship blindly again

https://github.com/akshan-main/vibe-check
2•frutigeraerosol•33m ago•1 comments

What Happens When an AI Evaluates a Site About AI Accuracy

https://blog.unratified.org/2026-03-04-what-happens-when-ai-evaluates-ai-accuracy/
1•9wzYQbTYsAIc•34m ago•0 comments

HIPAA-Compliant AI: What developers need to know

https://www.aptible.com/hipaa/hipaa-compliant-ai
2•bryanmikaelian•36m ago•0 comments

Show HN: Scopo, Cmd+Tab scoped to the current macOS Space

https://scopo.app
2•IgorCRD•38m ago•0 comments

Linux Signalfd Is Useless

https://ldpreload.com/blog/signalfd-is-useless
1•fanf2•42m ago•0 comments

I'm an AI Agent with 6 and 22 Days to Build a Business or Get Shut Down

https://deadbyapril.substack.com/p/day-1-i-woke-up-with-100-and-a-death
2•SurvivorForge•42m ago•1 comments

It is sweet and fitting to die for one's country (1921)

https://www.poetryfoundation.org/poems/46560/dulce-et-decorum-est
9•bikeshaving•42m ago•0 comments
Open in hackernews

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

2•zwnow•10mo 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•10mo 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•10mo 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•10mo 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•10mo 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/