Briefing Zend Knowledge

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.
Enable magic_quotes_gpc .

B.
Strip all occurrences of the string javascript .

C.
Strip all occurrences of the string <script .

D.
None of the above.