How CSRF attacks are avoided in ASP.NET MVC Framework?

How CSRF attacks are avoided in ASP.NET MVC Framework?



-ASP.NET MVC Framework introduces anti-forgery helpers to protect the application from CSRF attacks.

-This can be achieved by using HTML helpers which are used in a form that renders internal inputs.

-Then the attributes are applied to the controller’s action to process the necessary protection required.
Post your comment