Using the [Authorize] attribute
The [Authorize] attribute is a way to limit access to a particular section of your MVC controller or action to an authenticated user. I came to find this attribute during a college project where I needed to restrict access to specific pages within my...
![Using the [Authorize] attribute](https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/4RgivBMvkME/upload/43a8dfb7e1663dfe096e1a5c83986855.jpeg)

![Why is the [ValidateAntiForgeryToken] attribute so important?](https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/zAhAUSdRLJ8/upload/241fc86d066f3c4edba1de738d3bdd65.jpeg)
