Re:#1 CSRF Is A Vulnerability In All Browsers
by eurleif on Friday March 30, 2012 @08:37PM
(#3778845)
X-Frame-Options only prevents the page from being displayed in a frame. It doesn't prevent a page on another domain from submitting a POST request.
[ Parent
| on HN ]
Re:#1 CSRF Is A Vulnerability In All Browsers
by tedivm on Monday April 09, 2012 @11:08PM
(#3820465)
CSRF is solved very simply by using tokens for each field. If the attacking site can't load the other page, it can't pull the token out, and without the token the post gets discarded. If you've abstracted your form generation this should be super simple to add.