Config: Allow Roles does not work as expected

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brian Takita

    Config: Allow Roles does not work as expected

    Hello,

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

    The following setting in web.config does work:
    <authorizatio n>
    <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

  • Patrick Olurotimi Ige

    #2
    Re: Config: Allow Roles does not work as expected

    Are you using Windows Authentication?
    Are the PC's a member of the DOMAIN?

    *** Sent via Developersdex http://www.developersdex.com ***

    Comment

    • Brian Takita

      #3
      Re: Config: Allow Roles does not work as expected

      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.

      Comment

      • Patrick Olurotimi Ige

        #4
        Re: Config: Allow Roles does not work as expected

        Brian Takita another thing..
        Make sure that in your web.config you have
        <identity impersonate="tr ue"/>
        If problem persist..
        Post it

        Patrick

        *** Sent via Developersdex http://www.developersdex.com ***

        Comment

        Working...