Author: CRP | Posted on: 7/31/2008 6:17:36 AM | Views : 258

I want to develop an application in asp.net 2.0 which implements role-based authorization. I have login page and two more aspx pages called one.aspx and two.aspx. I have a table called Role in my sql server database which contains two columns one for role and another for password.

The following are the records

 Role         Password

Admin        admin

User           test

If the user enters with "User" Role and the appropriate password then he should be able to see only the one.aspx page. If the user enters with "Admin" role then he should be able to acess both one.aspx and two.aspx pages. How to do it? Please give me the full coding since i am new to security concepts in asp.net. The username and password should be validated agains ...

Go to the complete details ...