nerdexam
National_Instruments

200-500 · Question #210

Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?

The correct answer is D. None of the above. See the full explanation below for the reasoning.

Question

Which of the following filtering techniques prevents cross-site scripting (XSS) vulnerabilities?

Options

  • AStrip all occurrences of the string script.
  • BStrip all occurrences of the string javascript.
  • CEnable magic_quotes_gpc.
  • DNone of the above.

How the community answered

(55 responses)
  • A
    7% (4)
  • B
    16% (9)
  • C
    4% (2)
  • D
    73% (40)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice