Spring Security · interview question
In the context of BCrypt, what does increasing the work factor achieve?
Multiple choiceHardchapter-17-curatedpremiumspring-securityspring-security-filter-chain
Answer and explanation
Correct answer
C. Increases the security by making hashing slower.
Why
Increasing the work factor in BCrypt increases the time required to hash passwords, enhancing security by making brute-force attacks more time-consuming.
Test yourself on Spring Security
A free test with instant, explained results. No account needed.
More Spring Security questions
- What HTTP response code does Spring Security typically return for unauthorized requests?
- In a stateless JWT token, what component ensures the token's integrity and prevents tampering?
- How does Spring Security handle a request identified as a potential CSRF attack?
- Why is separating authentication from authorization important in a real system?
- What does Spring Security's Authentication Filter primarily do?
- Which of the following filters in the Spring Security Filter Chain is primarily responsible for ensuring that requests…