One of the most useful features of ASP.NET forms-based authentication is the ability to use roles when designing a security infrastructure. When used naively, however, it can be very inefficient.
This article presents the fundamentals of building role-based security systems in ASP.NET as well as techniques for improving the efficiency of role membership lookup.
Sample code for this article is available for download at
http://staff.develop.com/onion/EfficientRoleBasedAuthenticationSample.zip
Download Efficient Role-Based Authorization in ASP.NET (pdf)
This article presents the fundamentals of building role-based security systems in ASP.NET as well as techniques for improving the efficiency of role membership lookup.
Sample code for this article is available for download at
http://staff.develop.com/onion/EfficientRoleBasedAuthenticationSample.zip
Download Efficient Role-Based Authorization in ASP.NET (pdf)