My CodePad

Fewer words, more code!

ASP.NET MVC 5: Custom AuthorizeAttribute for custom authentication — May 17, 2014

ASP.NET MVC 5: Custom AuthorizeAttribute for custom authentication

In my previous post, I wrote about how to protect your web app from human errors by enforcing authentication by default.

Since that process involves global filters, you can use that to add your own custom authentication by extending the AuthorizeAttribute.
Continue reading

Advertisements