Hi,
I can create a new Role, its simple, But it will be no use if the user cant define privilage to this role, like allow access to some pages, and deny it to athe pages?
I use the Web.Config to define my roles authorization like bellow
Any Help?
I can create a new Role, its simple, But it will be no use if the user cant define privilage to this role, like allow access to some pages, and deny it to athe pages?
I use the Web.Config to define my roles authorization like bellow
Code:
<location path="User">
<system.web>
<authorization>
<allow roles="User"/>
<allow roles="administrator"/>
<deny users="*"/>
<deny users="?"/>
</authorization>
</system.web>
</location>
<system.web>
Comment