A security analyst discovers the company’s website is vulnerable to cross-site scripting. Which of the following solutions will BEST remedy the vulnerability?
The answer is C. Client-Side Input encoding is done using JavaScript and provides an additional layer of security to prevent XSS on the client side before reaching the server. Whereas, Server-Side Input Validation deals with SQL injections that are used to manipulate server-side databases.
Defo B and here is why - https://www.packetlabs.net/posts/input-validation/#:~:text=Server%2Dside%20input%20validation%20will,vulnerable%20to%20Cross%2DSite%20Scripting.
The BEST solution to remedy the cross-site scripting vulnerability on the company's website is option B, server-side input validation.
Server-side input validation involves checking user input on the server side to ensure that it meets expected criteria before it is processed or stored. This can prevent malicious code from being injected into the website and reduce the risk of cross-site scripting attacks.
Agreed. Server side input validation is best here, to validate and sanitize input data.
upvoted 2 times
...
...
This section is not available anymore. Please use the main Exam Page.CS0-002 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
CatoFong
Highly Voted 2 years, 2 months agoTricee
Most Recent 1 year, 12 months agoStiobhan
2 years, 1 month agoencxorblood
2 years, 2 months ago2Fish
2 years, 1 month ago