Better HN
topnewbestaskshowjobs
Log inSign up

asdfjqer

1 karma · joined Feb 25, 2009 (17y ago) · 1 submissions

Submissions

comment 17y ago · link · parent

Just a word of warning, since the article doesn't make it clear: Using POST is not an effective defense against CSRF. You need to include some sort of unique token in the form.

(Checking the referrer certainly helps, but will cause problems for anyone who has referrers disabled in browser privacy settings or is behind a proxy that strips referrer headers)