Comment

Comment by steffenweber

CSRF protection is not about attacks from evil clients (you can easily spoof any header with the HTTP client library of your choice, of course). CSRF protection is about preventing innocent / well-behaving clients from being tricked into POSTing some data on behalf of their (logged-in) user.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton