Hacker News new | past | comments | ask | show | jobs | submit login

I see this a lot as an anti CSRF technique in AJAX based SPAs.



yeah, those techniques predate CORS, but even back then, you'd typically add your anti-csrf token to the payload rather than the header. CSRF is application level logic rather than protocol level.




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

Search: