Re:Modern Javascript: Everything you missed over the last 10...
by archerx on Sunday May 16, 2021 @02:42AM
(#27171706)
I made a custom e-commerce from scratch with PHP and doing the auth system wasn’t hard at all and it is pretty secure. I feel people make auth seem scarier than it really is.
[ Parent
| on HN ]
Re:Modern Javascript: Everything you missed over the last 10...
by petewailes on Sunday May 16, 2021 @03:10AM
(#27171834)
Don't roll your own auth.
I seriously doubt you're going to do a better job at security than the AaaS systems out there. I couldn't, and no-one I know could. It's a ludicrously complex and subtle field.
Re:Modern Javascript: Everything you missed over the last 10...
by dvdkon on Monday May 17, 2021 @07:06AM
(#27182136)
How did you evaluate the auth implementations? In my experience it's about as hard to poke holes into something as it is to fix it. Besides, a custom auth implementation doesn't need to be best-in-class, it needs to just be good enough.
Re:Modern Javascript: Everything you missed over the last 10...
by scrollaway on Monday May 17, 2021 @07:49AM
(#27182414)
> the auth system wasn’t hard at all and it is pretty secure
If there ever was a red flag in what you're saying, this is it.
Auth isn't "scary". But it is hard. You need to know what you're doing in order to implement it from scratch. If you think it wasn't hard, odds are you did it wrong.