Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not so hard to build a form and submit it automatically with JavaScript in order to get a user's browser to do a POST request to any URL you want.


That form wouldn't be on the same domain and therefore would hit CSRF protections.


Yes, if you require a user-specific random token in the request, the exploit doesn't work. But that's independent of GET/POST and not what you said in your earlier post.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: