Skip to content
Sharp

OWASP Vulnerabilities · interview question

How does the Spring Security filter chain protect against SQL Injection?

Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiessql-injection
Choose one answer
Answer and explanation

Correct answer

A. Automatically converting all queries to use PreparedStatements

Why

The Spring Security filter chain can integrate with data access layers to enforce the use of PreparedStatements, which prevent SQL injection by safely handling input parameters.

Test yourself on OWASP Vulnerabilities

A free test with instant, explained results. No account needed.

Start free test
All OWASP Vulnerabilities questions →