News for hackers. Stuff that matters.
Re:#1 CSRF Is A Vulnerability In All Browsers by gibybo on Friday March 30, 2012 @06:10PM (#3778369)
I am not familair with Django's CSRF tools, but you could write your own that didn't depend on cookies. Init a js var with a random token in the html somewhere, then require that the browser includes it with any state changing actions.
Re:#1 CSRF Is A Vulnerability In All Browsers by riffraff on Friday March 30, 2012 @06:24PM (#3778413)
AFAICT django requires the token as a form parameter, which would be what you suggest doing with javascript.

The issue is the "require that the browser includes it", as the information on the token must be available to the server too, and django apparently puts that in a cookie (rails does too, if the session is stored in the cookie).

So I believe you have suggested a fix for the bit that works already, but not for grandparent's actual problem :)