Authorization Problem |
|
Posted By
Prakash Samariya
on
5/3/2008 4:22:31 AM |
|
|
|
Description: |
You have to make little change in web.config for this.
Following example allows "admin" role based users to access particulat page.
//----------------------------------------
<location path="issused.aspx">
<system.web>
<authentication mode="Forms">
<forms name="iPage" loginUrl="Login.aspx" />
</authentication>
<authorization>
<allow roles="admin" />
<deny users="*" />
</authorization>
</system.web>
</location>
//----------------------------------------
This may help u to resolve problem. |
|
|
|