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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments