Author: maximohe | Posted on: 11/3/2010 5:42:27 AM | Views : 242

Hello friends,
well i have a simple application using an authentication (user and password) before accessing and there are several roles bound to each user.
in my web.config i have configured the acces for each page according to each role, this is an example below:
<location path="Home.aspx"> <system.web> <authorization> <allow roles="administrator,role1"/> <deny users="*"/> </authorization> </system.web> </location> <!-- --> <location path="admin.aspx"> <system.web> <authorization> <allow roles="administrator"/> <deny users="*"/> </authorization> </system.web> </location>
and i have 2 users:
1: admin (default r ...

Go to the complete details ...