nerdexam
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)
  • A
    78% (25)
  • B
    13% (4)
  • C
    6% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full JK0-018 Practice