frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Wikimap: A Map of Wikipedia

https://wikimap.wiki/
1•brokensegue•49s ago•0 comments

CRMs APL Archive

https://crms-apl.computerhistory.org/
1•tosh•59s ago•0 comments

Prompt to Chip

https://www.prompttochip.com/
1•jpatel3•1m ago•0 comments

End-to-end encrypted RCS messaging begins rolling out today

https://www.apple.com/newsroom/2026/05/end-to-end-encrypted-rcs-messaging-begins-rolling-out-toda...
1•blintz•1m ago•0 comments

Hackers abuse Google ads, Claude.ai chats to push Mac malware

https://www.bleepingcomputer.com/news/security/hackers-abuse-google-ads-claudeai-chats-to-push-ma...
1•Brajeshwar•1m ago•0 comments

Birth rates keep falling. We need to plan for an older America with fewer kids

https://www.vox.com/health/487637/falling-birth-rates-aging-america-demographic-reality
1•ryan_j_naughton•1m ago•0 comments

Show HN: Mimik – open-source local-first alternative to Scribe and Tango

https://github.com/westpoint-io/mimik
1•max-roma•3m ago•0 comments

Show HN: Inspection Credit – read your inspection, draft the negotiation

https://www.inspectioncredit.com
1•scarsam•4m ago•0 comments

End-to-end encrypted RCS messaging begins rolling out today for Android and iOS

https://blog.google/products-and-platforms/platforms/android/android-ios-end-to-end-encrypted-rcs...
1•xd1936•4m ago•0 comments

Elements of Programming

https://elementsofprogramming.com/
1•tosh•5m ago•0 comments

Dynamic Persistent Tile Scheduling w/ Cluster Launch Control (CLC) on Blackwell

https://research.colfax-intl.com/dynamic-persistent-tile-scheduling-with-cluster-launch-control-c...
1•matt_d•5m ago•0 comments

MartinLoop – budget caps and audit trails for AI coding agents

https://github.com/Keesan12/Martin-Loop
1•martinloop•8m ago•1 comments

Interactive Cellular Automata

https://www.simloops.com/r/cellular
1•nerdlogic•8m ago•0 comments

Officially canceling our Anthropic plan, it's [too expensive]

https://twitter.com/morganlinton/status/2053165575824887938
3•jamesliudotcc•10m ago•0 comments

Interactive Cellular Automata

1•nerdlogic•10m ago•0 comments

Art Bacon: Find the degrees of separation between two artists

https://networks.vaguespac.es/bacon.html?ulan1=500019484&ulan2=500006031
1•thebigship•10m ago•0 comments

Self-hosted Tailscale, Part 2: Ad-blocking DNS

https://blog.fidelramos.net/software/tailscale-2-ad-blocking-dns
1•fidelramos•12m ago•0 comments

Bubble Curtain

https://en.wikipedia.org/wiki/Bubble_curtain
1•simojo•12m ago•0 comments

Show HN: MessyData – turn messy data into clean tables/CSV

https://www.messydata.app
2•innovationlab•14m ago•0 comments

Update hints at four separate Steam Machine models and a reservation system

https://www.pcgamer.com/hardware/gaming-pcs/new-steam-update-hints-at-four-separate-steam-machine...
1•evo_9•14m ago•0 comments

Calculating Curvature

https://www.johndcook.com/blog/2026/05/08/calculating-curvature/
1•ibobev•16m ago•0 comments

Reverse Engineering Mersenne Twister with Linear Algebra

https://www.johndcook.com/blog/2026/05/10/reverse-mersenne-twister/
1•ibobev•16m ago•0 comments

Strategic Planning at the PSF

https://pyfound.blogspot.com/2026/05/strategic-planning-at-psf.html
1•lumpa•16m ago•0 comments

Shrinking the OxCaml JS_of_OCaml bundle: 285 MB to 4 MB

https://kcsrk.info/ocaml/oxcaml/modes/2026/05/10/shrinking-the-oxcaml-bundle/
1•ibobev•16m ago•0 comments

The Anti-Singularity

https://www.lesswrong.com/posts/k3XHZ4DjykLSfsnks/the-anti-singularity
2•gmays•16m ago•0 comments

Consensus on a MOQ Media Layer Player Framework Should Speed Market Adoption

https://www.red5.net/blog/consensus-on-a-moq-media-layer-player-framework/
1•mondainx•17m ago•0 comments

Why Deadlines Explode Stress

https://thegoodbusy.substack.com/p/why-deadlines-explode-stress
1•mooreds•17m ago•0 comments

Chrome's Silent Gemini Nano Download Has a Consent Problem

https://www.kylereddoch.me/blog/chromes-silent-gemini-nano-download-has-a-consent-problem/
2•speckx•18m ago•0 comments

First Impressions: NetBird

https://janlukas.blog/thoughts/2026/05/netbird
1•jlelse•19m ago•0 comments

GhostLock – Lockout Without Encryption

https://ghostlock.io/
1•happyopossum•20m 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/