What is csrf in spring security?



What is csrf in spring security?..

Answer / Sumit Pratap Singh

In Spring Security, Cross-Site Request Forgery (CSRF) protection can be implemented to prevent unauthorized access and secure user sessions. CSRF tokens are used to verify that the requests made by the client originate from an authenticated user.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

Why is spring boot preferred? : Spring Boot

1 Answers  


Why are springs important?

1 Answers  


What do you understand by @requestmapping annotation?

1 Answers  


Why bean is used in spring?

1 Answers  


What is the use of @autowired annotation?

1 Answers  


What is mockmvc in spring?

1 Answers  


Explain the functions of the following annotations: @component, @controller, @repository, @service.

1 Answers  


How to use tomcat jndi datasource in a spring web application?

1 Answers  


How you will decide when to use prototype scope and when singleton scope bean?

1 Answers  


What are advices in spring?

1 Answers  


What is a spring framework?

1 Answers  


What is spring dto class?

1 Answers  


Categories