Explain it in 60 seconds
Cross-site request forgery
Backend Engineering · Auth and Security · Beginner
What is CSRF, and how do you protect against it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Malicious site makes browser send authenticated request.
- Relies on cookies sent automatically.
- SameSite cookies.
- CSRF tokens.
- Not an issue for bearer tokens in headers.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.