PHP question on XSS

Posted by user318466 on Stack Overflow See other posts from Stack Overflow or by user318466
Published on 2010-04-19T06:27:46Z Indexed on 2010/04/19 6:33 UTC
Read the original article Hit count: 299

Filed under:

I need help in solving the following MCQ:

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

I think once the word java script is deleted there is no more threat. Am I correct ?

© Stack Overflow or respective owner

Related posts about php