Better HN
topnewbestaskshowjobs
Log inSign up

factcheckers

2 karma · joined Oct 11, 2017 (9y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

This line is just incorrect:

> The only correct CSRF mitigation is a CSRF token

Custom headers are better, imho, if you have an ajax-driven app. There is 0 chance of csrf ever happening if you require the session token be passed in a custom header and hold the session value in localstorage.

Source: I am an infosec professional.