nerdexam
Zend

200-710 · Question #150

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

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

Security

Question

Which of the following filtering techniques prevents all 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

(50 responses)
  • A
    14% (7)
  • B
    8% (4)
  • C
    4% (2)
  • D
    74% (37)

Topics

#XSS prevention#input filtering#magic_quotes#cross-site scripting

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice