M
Magnus Blomberg
Hello!
I have a intranet website with one unrestricted part (root) and one part in a subfolder which only could be used by some users.
Here is my web.config (almost everything):
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
..........
</connectionStrings>
<system.web>
<roleManager enabled="true" cacheRolesInCookie="true" >
</roleManager>
<!--<identity impersonate="true"/>-->
<authentication mode="Windows"/>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
<location path="editmode">
<system.web>
<authorization>
<allow roles="pd03\MedarbetareEditors"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>
My idea is that everyone should be able to access all pages in my application root. Only those in the MedarbetareEditors group should be able to access pages in my subfolder "editmode".
I got this to work in my development web where I have an older (beta) of DotNet 2.0. Now I'm using the released version of DotNet 2.0.
Looking in IIS I have DotNet version 2.0.50727. For the application root I have anonymous users and Integrated Windows Authentication enabled. For the editmode folder I have only Integrated Windows Authentication enabled.
I use the adress or the client IE sites set up so that the client sees the site as Local Intranet. Everything works when accessing the root pages, but when accessing the subfolder pages I get a logon question, and using an AD account which is a member of the pd03\MedarbetareEditors group doesn't give the access to the pages.
What could be wrong???
Regards Magnus
I have a intranet website with one unrestricted part (root) and one part in a subfolder which only could be used by some users.
Here is my web.config (almost everything):
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
..........
</connectionStrings>
<system.web>
<roleManager enabled="true" cacheRolesInCookie="true" >
</roleManager>
<!--<identity impersonate="true"/>-->
<authentication mode="Windows"/>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
<location path="editmode">
<system.web>
<authorization>
<allow roles="pd03\MedarbetareEditors"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>
My idea is that everyone should be able to access all pages in my application root. Only those in the MedarbetareEditors group should be able to access pages in my subfolder "editmode".
I got this to work in my development web where I have an older (beta) of DotNet 2.0. Now I'm using the released version of DotNet 2.0.
Looking in IIS I have DotNet version 2.0.50727. For the application root I have anonymous users and Integrated Windows Authentication enabled. For the editmode folder I have only Integrated Windows Authentication enabled.
I use the adress or the client IE sites set up so that the client sees the site as Local Intranet. Everything works when accessing the root pages, but when accessing the subfolder pages I get a logon question, and using an AD account which is a member of the pd03\MedarbetareEditors group doesn't give the access to the pages.
What could be wrong???
Regards Magnus