this post was submitted on 04 Jan 2024
152 points (90.4% liked)
Technology
59589 readers
3332 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You don't need cookies to keep track of the state. JavaScript can do that without cookies, 3rd party clients can do that without cookies.
There's also a lot of security gotchas when relying purely on JS.
Just lik with any tech. So what? Stop using internet alltogether?
Nah, cookies + JS is a solid authentication combo. But just JS without cookies is kinda vulnerable. Wouldnt want Paypal or taxes being purely Javascript authenticated.
Heres a fun article
https://betterprogramming.pub/understanding-auth-and-cookies-for-web-applications-33016c588cf9
The article is paywalled. And if someone is incapable of securing their JS app, that's on them. Cookies won't help.