- Home
- All questions
- Question 154
CompTIA Security+ study material · question 154 of 611
Why does a synchroniser token defeat cross-site request forgery?
Show the answer
Answer: C. The attacker's page cannot read the token out of the victim's session and cannot guess it
Same-origin policy prevents the attacker's page from reading the token, so it cannot construct a valid request.
Source: OWASP Cross-Site Request Forgery Prevention Cheat Sheet (OWASP) — OWASP CSRF Prevention Cheat Sheet › Token-Based Mitigation