Cross Site Request Forgery (CSRF) is typically prevent with one of the following methods:
Am I getting this right:
So, why not check whether users is logged in via cookie and apply CSRF only then?
I'm not sure but is possible for another site to forge things like Basic auth or headers?
As far as I know , CSRF is all about cookies? RESTful auth doesn't happen with cookies.