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

  1. #1

    Default AD and Asp.Net ?

    My IIS-6 box is not a member of the Windows 2003 Forest (a stand alone
    active directory). I use Form authentication. I need to verify logon users
    against the AD. What do I need in order to do this ? From my understanding,
    I would need an AD account/pw with read access to the SAM account (user
    object) on the AD box in order to verify my users ?

    My IIS box will never be a member of any AD and the web site is configured
    to run under "Network Service" account (anonymous). Here is the work flow:

    1. User logon to my website
    2. Asp.Net page check his/her credential against my MS/SQL user Profile
    table. If not match, exit the web.
    3. Then send the user's Logon ID/PW to AD for query. If not found, exit the
    web. Otherwise, allow user to access the web.

    Thanks

    John


    WJ Guest

  2. #2

    Default Re: AD and Asp.Net ?

    You can use FormsAuth and authenticate against the AD by LDAP (try to login
    with the given credentials) so you won't need a user account for your app.
    > My IIS box will never be a member of any AD and the web site is configured
    > to run under "Network Service" account (anonymous). Here is the work flow:
    This is NOT the Account ASP.NET runs under !!! ASP.NET by default uses
    "ASPNET"

    --
    Daniel Fisher(lennybacon)
    MCP ASP.NET C#
    Blog: [url]http://www.lennybacon.com/[/url]


    "WJ" <JohnWebbs@HotMail.Com> wrote in message
    news:eZbJ%23omCFHA.2620@tk2msftngp13.phx.gbl...
    > My IIS-6 box is not a member of the Windows 2003 Forest (a stand alone
    > active directory). I use Form authentication. I need to verify logon users
    > against the AD. What do I need in order to do this ? From my
    > understanding, I would need an AD account/pw with read access to the SAM
    > account (user object) on the AD box in order to verify my users ?
    >
    >
    > 1. User logon to my website
    > 2. Asp.Net page check his/her credential against my MS/SQL user Profile
    > table. If not match, exit the web.
    > 3. Then send the user's Logon ID/PW to AD for query. If not found, exit
    > the web. Otherwise, allow user to access the web.
    >
    > Thanks
    >
    > John
    >
    >

    Daniel Fisher\(lennybacon\) Guest

  3. #3

    Default Re: AD and Asp.Net ?

    "Daniel Fisher(lennybacon)" <info@(removethis)lennybacon.com> wrote in
    message news:ObrBYpuCFHA.2296@TK2MSFTNGP15.phx.gbl...
    > You can use FormsAuth and authenticate against the AD by LDAP (try to
    > login with the given credentials) so you won't need a user account for
    > your app.
    >
    Thanks for your reply. I got it working OK now. Yes, I still do need an
    account from the Domain Forest as a "domain user" and a password. I do not
    need to do anything with my current website. All I need is logon to the AD
    using the given account, query a given user and log off the AD.

    John


    WJ 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