CompTIA Security+ (SY0-501) — Question 37
Which of the following occurs when the security of a web application relies on JavaScript for input validation?
Answer options
- A. The integrity of the data is at risk.
- B. The security of the application relies on antivirus.
- C. A host-based firewall is required.
- D. The application is vulnerable to race conditions.
Correct answer: A
Explanation
When a web application depends on JavaScript for input validation, it can be manipulated by users, which can compromise the integrity of the data. The other options do not directly address the issues related to JavaScript-based validation; for instance, relying on antivirus or a firewall does not mitigate the risks posed by client-side validation.