Tuesday May 3rd

Monday May 2nd

ASP.NET MVC: Securing Your Controller Actions

Many people on the forums want to know how to best protect Actions on their Controller using Forms Authentication. The MVC Team has done a nice job introducing Filters (using Attributes) to this latest drop of MVC, and in this post I’ll show you how to create a filter that can handle security.



There is actually a way to do this already built in to the .NET framework and operates in side the run time. It is called PrincipalPermissionAttribute.

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network