Skip to content
Sharp

OWASP Vulnerabilities · interview question

In a Spring Security filter chain, what is the purpose of filters?

Multiple choiceEasychapter-17-curatedpremiumowasp-vulnerabilitiescross-site-scripting-xss
Choose one answer
Answer and explanation

Correct answer

C. To intercept and process requests before they reach the application

Why

Filters in the Spring Security filter chain are used to intercept and process HTTP requests before they reach the main application logic, allowing for authentication and authorization.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →