AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Membership and Role Providers in ASP.NET 2.0 Part II : Scott Allen

Thursday, December 25 2008

In part I we talked about the provider model, authentication, and the SqlMembershipProvider class. In this article we turn our attention to the roles and authorization provider. Once you know a user’s identity, you need to determine what actions you’ll allow the user to perform, and what pages you’ll allow a user to visit. A common technique for managing authorization rules like this is to categorize users into groups, or roles, and make authorization decisions based on the roles assigned to a user. For example, you might have 10,000 registered users for your application but define only 3 roles: administrators, registered users, and anonymous users. Using roles reduces the amount of administrative work required to run a site. When you want to grant or restrict access to all registered users on the site, you only need to apply the rule to one role, and not change the rules for each individual user account....

Read More:
Membership and Role Providers in ASP.NET 2.0 Part II : Scott Allen
Also See:
Search Engine Optimization (SEO) and ASP.NET Developers : Patrick Santry
Building a Simple Rating Control for ASP.NET 2.0 : Imar Spaanjaars
Examining ASP.NET 2.0's Site Navigation : Scott Mitchell
Customize Security in ASP.NET 2.0 : Peter Vogel
Creating Custom Sections in Web.config : Azamsharp

Post your comment

Comment