What does a CSRF token protect against?
- Requests forged by another site
- Passwords guessed by brute force
- Traffic captured on the network
- Files uploaded with a bad type
The token proves the request came from your own page, not an attacker's.
Play Cybersecurity ▸