frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Social market liberalism has no political home in India

https://ordinaryanalysis.substack.com/p/the-inner-dialogue-of-a-social-market
1•shibaprasadb•18s ago•0 comments

Fragnesia: Linux kernel local privilege escalation via ESP-in-TCP

https://www.wiz.io/blog/fragnesia-linux-kernel-local-privilege-escalation-via-esp-in-tcp
1•ljahier•24s ago•0 comments

Finnish marketplace for 'Environmentally responsible actions'

https://luontoarvot.fi/en
1•Mossy9•25s ago•0 comments

Your AI Frustration Is My Opportunity

https://metedata.substack.com/p/012-your-ai-frustration-is-my-opportunity
1•young_mete•27s ago•0 comments

Open source voice-to-text for Linux. And macOS

https://ostt.ai
1•gann_•53s ago•0 comments

Software Developers Say AI Is Rotting Their Brains

https://www.404media.co/software-developers-say-ai-is-rotting-their-brains/
2•SpyCoder77•2m ago•0 comments

Anduril raises $5B in Series H

https://www.anduril.com/news/anduril-announces-usd5b-series-h-raise
1•protortyp•2m ago•0 comments

Rug Pulled

https://unsung.aresluna.org/rug-pulled/
1•speckx•3m ago•0 comments

Cerebras to raise IPO price range to $150-$160 as demand surges

https://www.reuters.com/legal/transactional/cerebras-raise-ipo-price-range-150-160-demand-surges-...
1•nsoonhui•3m ago•0 comments

Resilience vs. Efficiency

https://www.csis.org/analysis/resilience-vs-efficiency
1•andsoitis•4m ago•0 comments

5 Years and $5M Later: Creating a New Language for Web Development Was a Mistake

https://wasp.sh/blog/2026/05/13/new-language-for-web-dev-was-a-mistake
1•matijash•7m ago•0 comments

Show HN: Headless Cloud Security – Headless SaaS has come to security

https://www.sysdig.com/learn-cloud-native/what-is-headless-cloud-security
4•dariobalinzo•7m ago•0 comments

Claude's Constitution; or love as the solution to the AI alignment problem

https://nintil.com/claude-constitution/
1•surprisetalk•7m ago•0 comments

I tried to put an on-device LLM in an iOS Share Extension. It didn't fit

https://apps.apple.com/ch/app/recipeinbox-rezept-speicher/id6766694174RecipeInbox:RezeptSpeicher
1•MoaMoli•7m ago•0 comments

Unitree will sell you a 'transformable mecha' for $650k

https://www.theverge.com/tech/929487/unitree-gd01-giant-mech-suit-robot
1•Brajeshwar•7m ago•0 comments

Mythos for Offensive Security: XBOW's Evaluation

https://xbow.com/blog/mythos-offensive-security-xbow-evaluation
1•wslh•8m ago•0 comments

Show HN: Docker AI Stack – Deploy 8 self-hosted AI services with one command

https://github.com/hwdsl2/docker-ai-stack
1•hwdsl2•9m ago•0 comments

Zig vs. Rust in 2026

https://zackoverflow.dev/writing/zig-vs-rust-in-2026/
2•birdculture•9m ago•0 comments

Zillow sues Compass, MRED over 'collusion' to hide listings

https://www.realestatenews.com/2026/05/12/zillow-sues-compass-mred-over-collusion-to-hide-listings
1•Anon84•9m ago•0 comments

George R. R. Martin Still Uses a DOS Word Processor [video]

https://www.youtube.com/watch?v=X5REM-3nWHg
1•tylerdane•9m ago•2 comments

Fast mode for Claude Opus 4.7 is now available in research preview

https://twitter.com/ClaudeDevs/status/2054266327771275435
1•redm•10m ago•0 comments

Show HN: Twatch – Rewind, search, and diff TUI applications

https://github.com/blacknon/twatch
1•blacknon•10m ago•0 comments

Europe builds deep. Korea builds fast. General argues neither is enough alone

https://vulpesetleo.substack.com/p/lessons-from-ukraine-industrial-base
2•hnsa•10m ago•0 comments

Helm AI Kernel – an open-source execution firewall for AI agents

https://github.com/Mindburn-Labs/helm-ai-kernel
1•mindburnlabs•11m ago•0 comments

Show HN: Gowasm – a browser-first Go execution environment in Rust/WebAssembly

https://github.com/mjgil-wasm/gowasm
2•mjgil•13m ago•0 comments

AI Coding Assistant Is Not Enough

https://articles.zimetic.com/your-ai-coding-assistant-is-not-enough/
2•bzimbelman•15m ago•0 comments

Free Energy from the Vacuum? Warp Drive Pioneer Unveils Battery-Free MicroSparc

https://thedebrief.org/free-energy-from-the-vacuum-warp-drive-pioneer-unveils-battery-free-micros...
1•speckx•15m ago•0 comments

Julia Stability vs. Rust for Scientific Computing

https://discourse.julialang.org/t/julia-stability-vs-rust-for-scientific-computing/137094
1•leephillips•15m ago•0 comments

Show HN: Vimancer – Game with Vim commands reimaged as magic

https://ameyrk.itch.io/vimancer
1•a2yk6r•15m ago•0 comments

Linux bitten by second vulnerability in as many weeks

https://arstechnica.com/security/2026/05/linux-bitten-by-second-severe-vulnerability-in-as-many-w...
1•redm•16m 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/