Community

How to Efficiently Validate Against Cross-Site Request Forgery Attacks in ASP.NET Core

(Peter Vogel) If you’re worried about CSRF (Cross-Site Request Forgery) attacks (and you probably should be), then you’ve already added the code to your Views that adds an anti-forgery token to the data that the browser sends back to the server.