by interfixus · 7y ago · 0 comments
Can I stop reading right here? The referer header is presumably the oftenest spoofed header on the planet.
Edit: I think I misread your comment and you're not arguing that checking origin/referrer isn't enough for security, but rather that it will block legitimate, privacy-conscious users.
Using a CSRF token is a valid alternative, and it's mentioned just below in the article.