CompTIA
JK0-018 · Question #822
Which of the following is the BEST way to prevent Cross-Site Request Forgery (XSRF) attacks?
The correct answer is A. Check the referrer field in the HTTP header. See the full explanation below for the reasoning.
Question
Which of the following is the BEST way to prevent Cross-Site Request Forgery (XSRF) attacks?
Options
- ACheck the referrer field in the HTTP header
- BDisable Flash content
- CUse only cookies for authentication
- DUse only HTTPS URLs
How the community answered
(32 responses)- A78% (25)
- B13% (4)
- C6% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.