Which of the following is the BEST approach to prevent Cross-site Scripting (XSS) flaws?

Posted by: Pdfprep Category: 312-50v10 Tags: , ,

Which of the following is the BEST approach to prevent Cross-site Scripting (XSS) flaws?
A . Use digital certificates to authenticate a server prior to sending data.
B . Verify access right before allowing access to protected information and UI controls.
C . Verify access right before allowing access to protected information and UI controls.
D . Validate and escape all information sent to a server.

Answer: D

Leave a Reply

Your email address will not be published.