ASP.NET MVC 4 AllowAnonymous Attribute and Authorize Attribute
I've been writing a number of ASP.NET MVC 4 Tutorials on new features as I either come across them or use them. One of the new features in ASP.NET MVC 4 is the AllowAnonymous Attribute that helps you secure an entire ASP.NET MVC 4 Website or Controller while providing a convenient means of allowing anonymous users access to certain controller actions, like the login and register Actions. If you look at the AccountController in a default ASP.NET MVC 4 Internet Project you will see AllowAnonymous Attributes sprinkled throughout various login and register controller actions for this very reason.




