Config: Allow Roles does not work as expected

  • Thread starter Thread starter Brian Takita
  • Start date Start date
B

Brian Takita

Hello,

The following setting in web.config does not work:
<authorization>
<allow roles="DOMAIN\Administrators" />
<deny users="*" />
</authorization>

The following setting in web.config does work:
<authorization>
<allow roles="BUILTIN\Administrators" />
<deny users="*" />
</authorization>

This is a problem for me because I also want to allow other domain
groups to use the application.

Does anybody know why the builtin account works but not the domain
account? Is there anything that I need to do?

Thank you,
Brian Takita
 
Are you using Windows Authentication?
Are the PC's a member of the DOMAIN?
 
I am using Windows Authentication and the accounts are part of the
domain.
I want to do authentication by user account and not by the computer
that access the application.
 
Brian Takita another thing..
Make sure that in your web.config you have
<identity impersonate="true"/>
If problem persist..
Post it

Patrick
 
Back
Top