Posted on: 5/30/2012 9:22:31 PM | Views : 233

Hi
I have created an intranet web app that uses Windows authentication. The app contains a handfull of restricted pages which are located in a sub folder named 'admin'. The admin folder uses it's own web.config which controls access via the following code...
 <system.web>
<authorization>
<allow users="DOMAIN\USER1"/>
<allow users="DOMAIN\USER2"/>
<allow users="DOMAIN\USER3"/>
<allow users="DOMAIN\USER4"/>
 <deny users="*"/>
</authorization>
</system.web>
This works to some degree, but does not have the desired behaviour - when an unauthorised user attemps to access one of the restricted pages, the ...

Go to the complete details ...