Hi,
I'm having problems with the interpretation of roles in the <authentication > entries in web.config
Scenario :
I'm logging on as 'Administrator' and try to access a site for which the IIS-authentication method is set to 'Integrated Windows' only
Following are the web.config-entries of the site :
<authenticati on mode="Windows" />
<identity impersonate="tr ue" />
<authorizatio n>
<allow users="MYDOMAIN \Administrator" />
<deny users="*" />
</authorization>
When I access the site it displays :
Authenticated user: MYDOMAIN\Admini strator
User was authenticated with: NTLM
Windows identity: MYDOMAIN\Admini strator
==> OK
but... the following gives me an "Access Denied"
<authenticati on mode="Windows" />
<identity impersonate="tr ue" />
<authorizatio n>
<allow roles="MYDOMAIN \Administrators " />
<deny users="*" />
</authorization>
And I double-checked that Administrator is a member of the Administrators-group
I tried with other users-roles and every time I allow only access to roles doesn't I have access ??
How come ?
Any ideas ?
thanks
Chris
*************** *************** *************** *************** **********
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...