frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Real World Programmer – Trust Games: Secure Usage of Proxy Contracts

https://realworldprogrammer.com/2025/11/29/trust-games-secure-usage-of-proxy-contracts/
1•rwpdotcom•16s ago•0 comments

Cool Facilities – The David Taylor Model Basin

https://www.navalgazing.net/David-Taylor-Model-Basin
1•eatonphil•1m ago•0 comments

AI Industry Interview Prep Guide

https://twopug.com/interview-prep/
1•knlb•4m ago•0 comments

How to Feed America

https://www.slowboring.com/p/how-to-actually-feed-america
1•Anon84•10m ago•0 comments

Show HN: Best Black Friday Deals [Mega List]

https://www.blackfridaydeals.directory
1•bfdd•14m ago•0 comments

The Open Dictionary Project(ODict

https://www.odict.org/
1•zipping1549•20m ago•0 comments

Tell HN: It's now impossible to disable all AI features in Firefox 145 (latest)

2•pera•23m ago•0 comments

Leaves cause major problems for Tesla autopilot

https://futurezone.at/produkte/laub-blaetter-tesla-autopilot-fsd-software-vollbremsung-probleme-e...
2•doener•25m ago•0 comments

Chinese parts supplier takes stake in leading Russian drone maker

https://www.ft.com/content/e907c2fa-2d3b-4269-bc6c-b2fee4d9f688
1•perihelions•28m ago•1 comments

Teaching AI to read Xcode builds

https://tuist.dev/blog/2025/11/27/teaching-ai-to-read-xcode-builds
1•pepibumur•29m ago•0 comments

Show HN: GoScopeAI – AI-powered web scanner with Llama3 vuln analysis

https://github.com/porgnope/GoScope-AI
1•porgnope•30m ago•0 comments

Man behind in-flight Evil Twin WiFi attacks gets 7 years in prison

https://www.bleepingcomputer.com/news/security/man-behind-in-flight-evil-twin-wifi-attacks-gets-7...
2•thunderbong•31m ago•0 comments

FLUX.2

https://bfl.ai/models/flux-2
1•doener•34m ago•0 comments

Z-Image: Powerful and highly efficient image generation model with 6B parameters

https://github.com/Tongyi-MAI/Z-Image
1•doener•35m ago•0 comments

NerdPoetry – Poetry after language. Presence as form

https://www.nerdpoetry.com/
1•DrNuke•41m ago•1 comments

Go port of A Fast 64–Bit Date Algorithm, based on benjoffe.com/fast-date-64

https://github.com/xnacly/go-fast-date
1•xnacly•41m ago•0 comments

Didoo AI – Paste a URL, Get Meta Ads That Print Money While You Sleep

https://didoo.ai
1•gaiaaguldina•41m ago•1 comments

How to share directories on the phone running Android via NFS as non-root user

https://xdaforums.com/t/guide-how-to-share-directories-on-the-phone-running-android-via-nfs-as-no...
1•sipofwater•43m ago•0 comments

Brainwashing and Influence: Human Will and the Future of Ethical Persuasion [video]

https://www.youtube.com/watch?v=37kzMlm44xA
1•keepamovin•43m ago•0 comments

I built a Ruby+Python tool for Shodan camera discovery and YOLO object detection

https://github.com/sigmatsotuff33-beep/Track-em-All-
1•yesimsigma•43m ago•2 comments

Rock mistaken for gold nugget for years turned out to be 4.6B-year-old meteorite

https://techoreon.com/australia-gold-prospector-maryborough-meteorite-discovery/
1•ashishgupta2209•48m ago•0 comments

Rapunzel Syndrome

https://en.wikipedia.org/wiki/Rapunzel_syndrome
1•saikatsg•49m ago•0 comments

Uplifting a dead Land Rover Freelander with a locked auto gear box [video]

https://www.youtube.com/watch?v=8ukpVWtQBNc
1•zeristor•50m ago•2 comments

Professional platform for psychological assessment and self-discovery

https://www.9types.org/
1•causalzap•56m ago•1 comments

Show HN: XShorts – 1-Click Tool to Turn Any Tweet into a Short Video

https://xshorts.net
1•bosschow•57m ago•0 comments

Show HN: Agent Identity Protocol – Open Standard for AI Agent Signatures

https://github.com/faalantir/mcp-agent-identity
1•faalantir•1h ago•1 comments

The Future of AI- Can AI and Robotics Replace Human Experimentation in Biotech?

1•AI-Ranger•1h ago•0 comments

Elon Musk's Anti-Woke Wikipedia Is Calling Hitler "The Führer"

https://theintercept.com/2025/11/26/grok-elon-musk-grokipedia-hitler/
7•stareatgoats•1h ago•5 comments

Did Goldman Sachs Overstep in Criminally Charging Its Ex-Programmer? (2013)

https://www.vanityfair.com/news/2013/09/michael-lewis-goldman-sachs-programmer
1•pabs3•1h ago•0 comments

Beej's Guide to Learning Computer Science

https://beej.us/guide/bglcs/
3•amruthreddi•1h ago•0 comments
Open in hackernews

Ask HN: Why is web auth not a solved issue?

2•zwnow•7mo 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•7mo 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•7mo 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•7mo 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•7mo 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/