Why is the [ValidateAntiForgeryToken] attribute so important?
I was creating an MVC/Web API application with ASP.NET through a PluralSight course and I came across the [ValidateAntiForgeryToken] attribute. This was used throughout the course when using [HttpPost] requests on methods. I decided to dig a little d...
Aug 7, 20233 min read19
![Why is the [ValidateAntiForgeryToken] attribute so important?](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fstock%2Funsplash%2FzAhAUSdRLJ8%2Fupload%2F241fc86d066f3c4edba1de738d3bdd65.jpeg&w=3840&q=75)