It discusses how this is on SO, arguing that csrf protection is not required for anonymous forms. Looking at the stackoverflow HTML code, if you are not logged in, you can see the csrf token if sent to an anonymous user.
How does this csrf token help protect an anonymous user?
, CSRF. , - , . , , CSRF (, ). , . CSRF ( ).
, CSRF. , , JavaScript , CSRF. , , .
csrf . ? IP-?
- . , PHP $_ SESSION. cookie . CSRF.
.
csrf ?
, . (IP-, , , cookie ..), . , CSRF, , Origin referer.
Origin
referer
csrf . , ? IP-?
, CSRF. Double Submit Cookies.
, :
Set-Cookie:
"" , , cookie , (.. , ).