CTPRP practice question 24 of 25

Which statement is NOT a method of securing web applications?

Full set: 119 questions
Answer options
A: Ensure appropriate logging and review of access and events
B: Conduct periodic penetration tests
C: Adhere to web content accessibility guidelines Correct answer
D: Include validation checks in SDLC for cross site scripting and SOL injections
Correct Answer:
C. Adhere to web content accessibility guidelines
Explanation

Securing web applications requires a multi-layered approach. Proper methods include validating all user inputs to prevent injection attacks, conducting security code reviews to find flaws, and deploying a Web Application Firewall (WAF) to filter malicious traffic. Disabling server-side logging is the opposite of a security method; it is a detrimental practice. Logs are essential for monitoring application activity, detecting anomalies, investigating security incidents, and performing forensic analysis after a breach. Intentionally removing this visibility creates a significant security gap and violates the principle of auditability, making the application less secure.

Why Incorrect

A: Input validation is a fundamental security control to prevent common vulnerabilities like SQL injection and Cross-Site Scripting (XSS). B: A Web Application Firewall (WAF) is a standard and effective security control specifically designed to protect web applications from network-based attacks. D: Security code reviews are a critical practice within a Secure SDLC to identify and remediate vulnerabilities before the application is deployed.

References

1. Shared Assessments, "Standardized Information Gathering (SIG) Questionnaire," Domain M: Application Security. The SIG includes specific control questions that verify the implementation of comprehensive logging and monitoring for security events.

2. OWASP Foundation, "OWASP Top 10:2021," A09:2021-Security Logging and Monitoring Failures. This document identifies insufficient logging and monitoring as a top security risk, confirming that disabling it is an anti-pattern for security.

Scroll to Top