frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

My boy filling out applications but My nieces and Daughter

https://twitter.com/WomanDefiner/status/2118053619790455016
1•bilsbie•56s ago•0 comments

Show HN: Droplis – a one click logic game

https://droplis.lalo.li/
1•franze•2m ago•0 comments

Hard to Fool: A bounded LLM research loop for quantitative finance

https://arxiv.org/abs/2611.06607
1•henryzhangpku•3m ago•0 comments

Post-Quantum Questions to Ask Your Vendors

https://www.cisa.gov/resources-tools/resources/post-quantum-questions-ask-your-vendors
1•dboreham•3m ago•0 comments

Show HN: Radio Dystopia

https://radiodystopia.com/
1•drcode•4m ago•0 comments

Software as a Garden

https://carllapierre.com/blog/software-as-a-garden
1•staffor•4m ago•0 comments

Mizu – zero-copy parallel R and Python over shared memory

https://github.com/shikokuchuo/pymizu
2•cscheid•4m ago•0 comments

A gleam implementation of Solitare encryption scheme

https://code.mfashby.net/solitare/file/src/solitare.gleam.html
1•speckx•5m ago•0 comments

Raising the bar for 8 GB Windows 11 PCs: what's improved and how to get it

https://blogs.windows.com/windowsexperience/2026/11/03/raising-the-bar-for-8-gb-windows-11-pcs-wh...
2•taubek•5m ago•0 comments

Show HN: EpubCC, PDF to ePub that beats Calibre on 14/19 PDFs (loses on Arabic)

https://epubcc.com/
1•lou_alcala•5m ago•0 comments

Together AI Compiler for Inference

https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference
1•sha_rad•6m ago•0 comments

A writing app that helps you spot what could be clearer and how to improve

https://yukiwriter.com/
2•partsch•6m ago•1 comments

Show HN: Revline – An open-source AI-native video editor

https://tryrevline.com
1•ZuraMakaradzeHe•7m ago•0 comments

Canva layoffs: design giant to cut or relocate more than 1,200 jobs

https://www.theguardian.com/australia-news/2026/nov/04/canva-layoffs-job-cuts-restructure
3•pseudolus•7m ago•0 comments

I Gave Claude Code a Realtime Voice Mode on My MacBook

https://www.storminthecastle.com/posts/claude-voice/
1•johnrobinsn•7m ago•0 comments

French blood banks hit alongside cyberattack on European supermarkets

https://www.yahoo.com/news/world/articles/several-french-blood-banks-hit-124448641.html
1•pseudolus•8m ago•0 comments

Batman's bike could be yours, if you have a spare $1.2 million

https://www.cnn.com/2026/11/05/entertainment/batman-batpod-auction-scli-intl
1•cisc•10m ago•0 comments

Show HN: Engine-X – Interactive 3D machines you can take apart in the browser

https://engx3d.com/
1•parth_mecheng•10m ago•0 comments

Bluesky was right all along and will accept your apology any time

https://www.fastcompany.com/91635647/bluesky-was-right-all-along-and-will-accept-your-apology-any...
2•donohoe•10m ago•0 comments

Show HN: Isoform – open-source Mac app that learns you and works as you

https://github.com/yubozhao/isoform
1•yubozhao•11m ago•1 comments

First Paper to Link CO2 and Global Warming (1856) (2019)

https://publicdomainreview.org/collection/first-paper-to-link-co2-and-global-warming-by-eunice-fo...
1•zenincognito•12m ago•0 comments

Pull the Plug on Technofascism Before It Reboots

https://www.techpolicy.press/pull-the-plug-on-technofascism-before-it-reboots/
4•cdrnsf•12m ago•1 comments

Private equity is buying up more methadone clinics

https://theconversation.com/private-equity-is-buying-up-more-methadone-clinics-access-to-the-life...
2•speckx•12m ago•0 comments

Dory1.0-4B: A Looped Normalized-GPT

https://huggingface.co/papers/2611.03998
1•sha_rad•12m ago•0 comments

Twelve-month all-cause mortality after initial Covid-19 vaccination

https://www.sciencedirect.com/science/article/pii/S2590113326000556
3•bilsbie•14m ago•1 comments

Techseen: AI News, Sources and Discussion

https://techseen.com/
1•mooreds•14m ago•0 comments

Humble Robotics raises $51M to build autonomous electric self-driving truck

https://www.businessinsider.com/humble-robotics-raises-51-million-for-cabless-self-driving-trucks...
1•maiagryskiewicz•14m ago•0 comments

Show HN: MaidenRun – Deploy an AI agent to your AWS and collect tester feedback

https://github.com/kaushik333/MaidenRun
1•Kaushik47•14m ago•0 comments

AIs try to create a large C++ physics Simulation [video]

https://www.youtube.com/watch?v=lZoS1tr8Cik
1•chii•14m ago•0 comments

Explaining the popularity of Max Richter's compositions

https://economist.com/culture/2026/11/04/explaining-the-popularity-of-max-richters-compositions
1•andsoitis•15m 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/