Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How EU Cookie Law Myths Affect Web Security (rdegges.com)
3 points by kuschku on Jan 23, 2018 | hide | past | favorite | 2 comments



I just read that article: it was super interesting.

The author there found that many people recommend using cookies over web storage -- that's actually the exact opposite of the advice I've seen. This was written a few years ago, however.

Anyhow: I disagree with the author. I think what he's missing out on in his analysis is how common/easy/widespread XSS actually is.

XSS is far harder to defend against than CSRF. Because of this the surface area of what you have to protect against is much greater and usually out of the control of an individual developer on a project. I'm actually doing a more thorough writeup of this currently which I plan to publish sometime tomorrow.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: