frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A Dangerous New Attack on Press Freedom

https://www.theatlantic.com/ideas/2026/05/kash-patel-fitzpatrick-fbi-investigation/687077/
4•petethomas•7m ago•1 comments

Net May 15 Starship • Flight 12

https://spaceflightnow.com/launch-schedule/
2•bookmtn•8m ago•0 comments

AWS EC2 outage in use1-az4 (us-east-1)

https://health.aws.amazon.com/health/status?t=2026-05-07
3•philip1209•9m ago•1 comments

6 years of CS2 skin market data, indexed S&P-style (open methodology)

https://skintrackers.com/en
1•Jorgincs•17m ago•1 comments

The Long Journey from the Strait of Hormuz to the Gas Tank

https://www.nytimes.com/interactive/2026/05/07/world/middleeast/oil-tanker-strait-hormuz-iran-war...
3•voxadam•18m ago•0 comments

Yarbo Nat in My Backyard

https://github.com/Bin4ry/yarbo-nat-in-my-back-yard
1•greedo•19m ago•0 comments

UBC, SFU among universities affected by Canvas software cyber breach

https://www.cbc.ca/news/canada/british-columbia/ubc-sfu-canvas-cyber-breach-9.7191972
1•uladzislau•19m ago•0 comments

GPT-5.5 Price Increase: What It Costs

https://openrouter.ai/announcements/gpt55-cost-analysis
1•gmays•20m ago•0 comments

OpenAI end of lifes fine-tuning

https://developers.openai.com/api/docs/deprecations
1•dandiep•20m ago•0 comments

Pentagon CTO demonstrates Palantir's Maven system, used for military operations [video]

https://www.youtube.com/watch?v=Q5uVckUvGcQ
1•LostMyLogin•21m ago•0 comments

Netflix tests its own AI-powered voice search

https://www.lowpass.cc/p/ask-netflix-ai-voice-search
1•andsoitis•21m ago•0 comments

The IDE Should Become an Operating System for AI

https://avkcode.github.io/blog/ide-operating-system-ai.html
1•akrylov•24m ago•0 comments

New open source city-state, with new constitution functional on one site

https://arkology.org/
1•TravelingTTime•24m ago•0 comments

The first repo with 500k+ stars

https://github.com/codecrafters-io/build-your-own-x
1•sarupbanskota•25m ago•0 comments

How Does decoding="async" Affect LCP?

https://blaines-blog.com/how-does-decoding-async-affect-lcp/
1•B56c•26m ago•0 comments

Seeing Birdsong

https://www.lucioarese.net/seeing-birdsong/
2•carabiner•27m ago•0 comments

Eradicating Batch Effects and Enabling Cross-Species Zero-Shot Oncology

https://github.com/massimilianoconcas0-del/Relational_Loss_ML/tree/main/rna_sequencing
1•massimiliano_c•27m ago•0 comments

Show HN: Selvedge – an MCP server that captures why AI agents change code

https://selvedge.sh/
1•masondelan•31m ago•3 comments

Show HN: I had a random domain and made a thing

https://0r.cx
1•stavros•39m ago•0 comments

Show HN: Armorer – A secure local control plane for AI agents

1•cristianleo•44m ago•0 comments

Trump administration cut funding to study hantavirus

https://www.scientificamerican.com/article/trump-administration-cut-funding-to-study-hantavirus-b...
11•solid_fuel•47m ago•7 comments

"Surface" a Governed AI-Agentic Surface

2•paulbernard•48m ago•0 comments

Subjective: Building a Native VFX Editor with Agentic Coding

https://sxp.studio/blog/subjective-building-a-native-vfx-editor-with-agentic-coding
2•tasoeur•49m ago•0 comments

Mistral Medium 3.5 Is Now Available in Puter.js

https://developer.puter.com/blog/mistral-medium-3-5-puter-js/
2•ent101•53m ago•0 comments

What Happened on the Hantavirus Cruise, According to a Doctor on Board

https://www.theatlantic.com/health/2026/05/hantavirus-cruise-doctor/687095/
4•petethomas•1h ago•1 comments

The AI Ad-Hoc Prior Restraint Era Begins

https://thezvi.substack.com/p/the-ai-ad-hoc-prior-restraint-era
1•iamnothere•1h ago•1 comments

The all-new Fitbit Air

https://blog.google/products-and-platforms/devices/fitbit/fitbit-air/
2•tjek•1h ago•1 comments

Chrome's 4GB AI Surprise: Why Google Chrome Is Quietly Downloading Gemini Nano

https://blog.praveen.science/chrome-s-4gb-ai-surprise-why-google-chrome-is-quietly-downloading-ge...
3•praveenscience•1h ago•0 comments

Show HN: Vibe coding embedded systems with simulators

https://simulator86.com/blog/development-minus-the-hardware/
2•grog_6•1h ago•0 comments

Tributes paid to David Attenborough on his 100th birthday

https://www.theguardian.com/tv-and-radio/2026/may/08/david-attenborough-100th-birthday
5•Archelaos•1h 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/