Active Directory Authorization Store question

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Active Directory Authorization Store question

    I'm using Authorization and Profile block in my middle tier (.NET Remoting
    hosted under IIS) for role-based application security. It's all good when the
    authorization store is placed in a local xml file. But this is only good in
    development. In production environment the store need to be integrated into
    Active Directory.

    The middle-tier (ASP.NET) is supposed to be configured to run under a least
    privileged local account. But I cannot successfully configure any local
    account (neither custom account nor built-in account) to communicate with the
    remote AD authorization store.

    The steps were:
    1. Create an authorization store in AD
    2. Assign the computer account of the server running ASP.NET to the Readers
    group of the store.

    My question is that whether a non-domain account can be used to run open and
    query a remote authorization store in Active Directory. If yes then what is
    the requirement for this local account (like membership, permissions etc)?

    Thanks
    Ming
    hey Guest

  2. Similar Questions and Discussions

    1. question(s) win32::ole and active-directory interaction
      hello, i'm curious, could anyone direct me to a half-decent article regarding the Win32::OLE module, and using it to interact with active...
    2. Active Messaging Error '000004f9' The information store could not be opened.
      hi all, i face some problem when i want to send an email to some people b using the codes below. I'm using exhange server and CDO 1.1 and th...
    3. authorization for sub directory
      Hi All, Could anybody advise me for the following.. I want to restrict access to a subdirectory in an web application which has "integrated...
    4. Active Directory Search fails ("The directory service is unavailab
      Hi all, I'm having one of those nerve wrecking errors, when trying to perform a simple search in an Active Directory. The objective of the code...
    5. Question about removing a computer from XP Active Directory
      We have a client who inherited two Windows XP Professional machines from their old office (a larger facility running Active Directory, multiple...
  3. #2

    Default Re: Active Directory Authorization Store question

    You'll need a domain account if you want to talk to AD using the credentials
    of your current thread. If you can specify credentials somehow then you
    have more flexibility.

    Can you set up ASP.NET to run as a low privileged domain account?

    Joe K.

    "hey" <hey@discussions.microsoft.com> wrote in message
    news:82C6EA02-1DAB-4CD0-A355-BA278226DCC3@microsoft.com...
    > I'm using Authorization and Profile block in my middle tier (.NET Remoting
    > hosted under IIS) for role-based application security. It's all good when
    > the
    > authorization store is placed in a local xml file. But this is only good
    > in
    > development. In production environment the store need to be integrated
    > into
    > Active Directory.
    >
    > The middle-tier (ASP.NET) is supposed to be configured to run under a
    > least
    > privileged local account. But I cannot successfully configure any local
    > account (neither custom account nor built-in account) to communicate with
    > the
    > remote AD authorization store.
    >
    > The steps were:
    > 1. Create an authorization store in AD
    > 2. Assign the computer account of the server running ASP.NET to the
    > Readers
    > group of the store.
    >
    > My question is that whether a non-domain account can be used to run open
    > and
    > query a remote authorization store in Active Directory. If yes then what
    > is
    > the requirement for this local account (like membership, permissions etc)?
    >
    > Thanks
    > Ming

    Joe Kaplan \(MVP - ADSI\) Guest

  4. #3

    Default Re: Active Directory Authorization Store question

    Thanks for your reply Joe.

    For sure it works by using a domain account.

    But the preference is to use a local account, which will be consistent to
    the way to communicate with the backend sserver. We have set up mirrored
    local account in the middle-tier and backend database server to facilitate
    Windows authentication between the two.

    Ming

    "Joe Kaplan (MVP - ADSI)" wrote:
    > You'll need a domain account if you want to talk to AD using the credentials
    > of your current thread. If you can specify credentials somehow then you
    > have more flexibility.
    >
    > Can you set up ASP.NET to run as a low privileged domain account?
    >
    > Joe K.
    >
    > "hey" <hey@discussions.microsoft.com> wrote in message
    > news:82C6EA02-1DAB-4CD0-A355-BA278226DCC3@microsoft.com...
    > > I'm using Authorization and Profile block in my middle tier (.NET Remoting
    > > hosted under IIS) for role-based application security. It's all good when
    > > the
    > > authorization store is placed in a local xml file. But this is only good
    > > in
    > > development. In production environment the store need to be integrated
    > > into
    > > Active Directory.
    > >
    > > The middle-tier (ASP.NET) is supposed to be configured to run under a
    > > least
    > > privileged local account. But I cannot successfully configure any local
    > > account (neither custom account nor built-in account) to communicate with
    > > the
    > > remote AD authorization store.
    > >
    > > The steps were:
    > > 1. Create an authorization store in AD
    > > 2. Assign the computer account of the server running ASP.NET to the
    > > Readers
    > > group of the store.
    > >
    > > My question is that whether a non-domain account can be used to run open
    > > and
    > > query a remote authorization store in Active Directory. If yes then what
    > > is
    > > the requirement for this local account (like membership, permissions etc)?
    > >
    > > Thanks
    > > Ming
    >
    >
    >
    hey Guest

  5. #4

    Default Re: Active Directory Authorization Store question

    I'm not a huge fan of the mirrored local account as it is pretty brittle.
    Wouldn't it be easier to use a domain account for that purpose too? That
    would seem to solve both problems. You can still use a least privilege
    account for this purpose.

    Joe K.

    "hey" <hey@discussions.microsoft.com> wrote in message
    news:B288627D-BB4B-4E68-B5B2-78994A963033@microsoft.com...
    > Thanks for your reply Joe.
    >
    > For sure it works by using a domain account.
    >
    > But the preference is to use a local account, which will be consistent to
    > the way to communicate with the backend sserver. We have set up mirrored
    > local account in the middle-tier and backend database server to facilitate
    > Windows authentication between the two.
    >
    > Ming
    >
    > "Joe Kaplan (MVP - ADSI)" wrote:
    >
    >> You'll need a domain account if you want to talk to AD using the
    >> credentials
    >> of your current thread. If you can specify credentials somehow then you
    >> have more flexibility.
    >>
    >> Can you set up ASP.NET to run as a low privileged domain account?
    >>
    >> Joe K.
    >>
    >> "hey" <hey@discussions.microsoft.com> wrote in message
    >> news:82C6EA02-1DAB-4CD0-A355-BA278226DCC3@microsoft.com...
    >> > I'm using Authorization and Profile block in my middle tier (.NET
    >> > Remoting
    >> > hosted under IIS) for role-based application security. It's all good
    >> > when
    >> > the
    >> > authorization store is placed in a local xml file. But this is only
    >> > good
    >> > in
    >> > development. In production environment the store need to be integrated
    >> > into
    >> > Active Directory.
    >> >
    >> > The middle-tier (ASP.NET) is supposed to be configured to run under a
    >> > least
    >> > privileged local account. But I cannot successfully configure any local
    >> > account (neither custom account nor built-in account) to communicate
    >> > with
    >> > the
    >> > remote AD authorization store.
    >> >
    >> > The steps were:
    >> > 1. Create an authorization store in AD
    >> > 2. Assign the computer account of the server running ASP.NET to the
    >> > Readers
    >> > group of the store.
    >> >
    >> > My question is that whether a non-domain account can be used to run
    >> > open
    >> > and
    >> > query a remote authorization store in Active Directory. If yes then
    >> > what
    >> > is
    >> > the requirement for this local account (like membership, permissions
    >> > etc)?
    >> >
    >> > Thanks
    >> > Ming
    >>
    >>
    >>

    Joe Kaplan \(MVP - ADSI\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139