Exam4Training

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

Which of the following filtering techniques prevents all cross-site scripting (XSS) vulnerabilities?
A . Strip all occurrences of the string <script.
B . Strip all occurrences of the string javascript.
C . Enable magic_quotes_gpc.
D . None of the above.

Answer: D

Exit mobile version