frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

RootMap – browse your photos by where you took them (free, local)"

https://apps.microsoft.com/detail/9nspfkjjx18s?hl=en-US&gl=US
1•StuMarkSez•3m ago•0 comments

Managed Agents by OpenComputer

https://www.managedagents.sh/
2•handfuloflight•8m ago•0 comments

Ask HN: Did Google give up in the AI Race?

1•franze•14m ago•1 comments

SensorFM: Towards a general intelligence and interface for wearable health data

https://research.google/blog/sensorfm-towards-a-general-intelligence-and-interface-for-wearable-h...
1•simonpure•14m ago•0 comments

GPT 5.6 Sol tops DeepSWE at 76% at 61% less cost than Fable

https://deepswe.datacurve.ai/
1•handfuloflight•17m ago•0 comments

Show HN: Context-aware AI social workspace to learn math

https://www.prooftree.ai
1•lemma1729•17m ago•0 comments

Rise of the Gen-Z Luddite

https://economist.com/united-states/2026/07/09/rise-of-the-gen-z-luddite
2•burntcaramel•19m ago•0 comments

What Is a Buffer? Bits/Bytes, Hex, Encoding, and TypedArray Memory

https://www.thenodebook.com/buffers/what-is-buffer
1•isht_0x37•19m ago•0 comments

The Thermodynamic Cost of Privacy

https://elma.dev/engineering/thermodynamic-cost-of-privacy
1•elmsec•20m ago•0 comments

Ignored Immune Upgrade [video]

https://www.youtube.com/watch?v=VF3RHOFC354
1•Bender•29m ago•0 comments

Cops Say Waymo Snitched on Teens for Allegedly Drinking and Shooting a Toy Gun

https://www.404media.co/waymo-called-police-on-teens-san-mateo/
3•Cider9986•30m ago•1 comments

Delsarte System of Dramatic Expression (1886)

https://publicdomainreview.org/collection/delsarte-system/
1•tylerdane•32m ago•2 comments

Get features faster with Chrome's two-week release cycle

https://developer.chrome.com/blog/chrome-two-week-release
1•Cider9986•32m ago•0 comments

Show HN: BastionRoute – A zero trust network access with zero inbound ports

https://github.com/klauscam/BastionRoute
1•tuta88•32m ago•1 comments

RegTech/Fintech Factory – Help Me

https://homeofficeosllc.com/
1•ervis441•34m ago•0 comments

QuerySelector Immediate Children With:Scope

https://siderite.dev/blog/queryselector-immediate-children-with-scope
1•gslin•35m ago•0 comments

A clean Full Screen Clock Online for any device –PC, laptop, tablet, or mobile

https://citytime.io/fullscreen-clock
3•rajkverma123•40m ago•0 comments

Graduating without a thesis: meet the people getting 'practical' PhDs in China

https://www.nature.com/articles/d41586-026-01242-z
1•sohkamyung•41m ago•0 comments

Fable is SOTA at CIFAR Speedrun: lessons on AI R&D automation

https://fulcrum.inc/2026/07/09/fable-cifar-speedrun.html
3•etherio•42m ago•0 comments

Gates Heir's Shopping App Took Credit for Sales It Didn't Drive

https://www.bloomberg.com/news/articles/2026-07-09/gates-heir-s-shopping-app-took-credit-for-sale...
3•toomuchtodo•44m ago•1 comments

Up the Stack: How AI's Escape from the Commodity Trap Risks Enterprise Lock-In

https://www.normaltech.ai/p/up-the-stack-how-ais-escape-from
1•randomwalker•51m ago•0 comments

Orbit, an Open-Source Toolkit for Retrieval-Based Inference

https://github.com/schmitech/orbit
1•schmitech•54m ago•0 comments

When does a CEO get involved? When you're on your fourth Ford Focus

https://old.reddit.com/r/AskReddit/comments/1uru4d7/comment/owjp196/
4•0xWTF•56m ago•1 comments

How to Hide from Killer Drones

https://www.economist.com/science-and-technology/2026/07/08/how-to-hide-from-killer-drones
4•nmstoker•57m ago•0 comments

Ex-Epoch Times CFO pleads guilty in $67M multinational money laundering scheme

https://apnews.com/article/epoch-times-cfo-indictment-money-laundering-a015b35aaeae44284f0026dc10...
16•petethomas•59m ago•2 comments

People Who Will Thrive in the AI Age

https://www.theatlantic.com/ideas/2026/06/ai-open-ai-anthropic/687689/
2•davidklemke•59m ago•1 comments

New York Times says OpenAI hid evidence in ChatGPT copyright trial

https://techcrunch.com/2026/07/09/new-york-times-says-openai-hid-evidence-in-chatgpt-copyright-tr...
9•sbulaev•59m ago•0 comments

And Then the Billionaire Paid Off $550M of Our Debts for $5.5M

https://idiallo.com/blog/billionaire-paid-off-550-million-dollars-of-our-debts
3•firefoxd•1h ago•1 comments

Victor Marx wins Colorado's three-way Republican primary for governor

https://coloradosun.com/2026/07/09/victor-marx-wins-colorados-republican-primary-governor/
3•mooreds•1h ago•2 comments

GeForce Trading Cards: Series 1 Celebrates the Generations of GeForce

https://www.nvidia.com/en-us/geforce/news/geforce-trading-cards-series-1-summer-of-rtx-giveaways/
1•Jhsto•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/