Re:What one may find in robots.txt
by asddubs on Tuesday May 19, 2015 @03:52AM
(#9568596)
the referer header does not get set on copied and pasted urls
[ Parent
| on HN ]
Since a csrf will come from a <img tag which is not on your site, you can check the header. So the only problem is if the user copy pastes the link from a website or clicks from some other application. Which decreases the chance of a substantial attack alot. If you are using http as laumars stated, this doesnt work. But i think this should be a pretty decent and easy to implement solution if you're using https.