Certified Ethical Hacker 312-50v10 – Question234

Which of the following is one of the most effective ways to prevent Cross-site Scripting (XSS) flaws in software applications?

Use security policies and procedures to define and implement proper security settings.
B. Use digital certificates to authenticate a server prior to sending data.
C. Validate and escape all information sent to a server.
D. Verify access right before allowing access to protected information and UI controls.

Correct Answer: C