Managing Admin / User Accounts for your web applications

No website is complete without a subscription and personalization. Most of the sites provide users to register themselves and have their own accounts, personalized pages etc., On the top of all, it requires an administrator to manage the users and the contents of the site.

The first question that comes when developing such applications is to have separate login pages for users and administrators. I find many people asking question on how to have separate Login Pages for Administrators, Premium Users, Users so that they can give them necessary privileges.

Forms Authentication provides an easy way of restricting anoymous access. However, it doesn't provide the option to have 2 separate login pages for the same authentication setting unless you specify each fodler as a virtual directory and have a web.config with individual authentication tag and login pages. That would be too much of settings and actually not required.

The simple and effective way is to use Role Based Authorization.

I found this
Role-Based Authorization With Forms Authentication a very valuable resource and simple and effective step for users planning to implement Role Based Authorization.

This way you can achieve personalization and privileges based on the user's role.

This article is targetted towards users who would like to do Role Based activities while implementing Forms Authentication.

Comments and Suggestions are welcome.

Print | posted on Monday, April 25, 2005 7:57 AM

Comments on this post

# re: Managing Admin / User Accounts for your web applications

Requesting Gravatar...
It is normal in web application that a certain individuals or group of individuals has limited access. One example that is very known is an intranet. In this, only a subset of trusted employees can access their site. - BrandStar Entertainment



Left by Brandstar Entertainment on Feb 18, 2012 5:34 PM

Your comment:

 (will show your gravatar)