469,610 Members | 1,797 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,610 developers. It's quick & easy.

check user account with AD

my web server is in domain. how can I check the user login with the AD's user account?? does it required the client's browser and web server located in the same domain??
and what is the different between using AD and LDAP??
Million Thanks.
Nov 18 '05 #1
1 1696
Hi Grey,

Would you like to use Forms Authentication or Windows Authentication?

For forms auth I got an example here:
http://www.cshrp.net/content/code/FormAuthwAD.zip

For windows authentication, you need to configure your IIS to use either
Basic (or digest but this requires som insecure changes to your domain
controller) or Windows Integrated Security.

Both of them uses HTTP to transmitt user information from the client to the
server. Windows Integrated Security will only work with internet expliorer.

For Integrated Security, IE will send the currently logged on users
credentials if the web application is in the local intranet. If the
application isn't on the local intranet or the credentials don't get
authorized, IE will prompt the user for login information.

IE will also prompt the user for login information if only basic is
activated.

For basic authentication you should be aware that credentials are sent in
clear text.

You also need to configure your asp.net application to use windows
credentials, you do this in web.config.

For your second question, AD is the repository and LDAP a query language
used (not exclusivly, other directory services uses LDAP to) to query AD for
information.

--
Patrik Lowendahl
www.cshrp.net - "Elegant code by witty programmers"

"Grey" <er*****@i-cable.com> wrote in message
news:Ox****************@TK2MSFTNGP09.phx.gbl...
my web server is in domain. how can I check the user login with the AD's
user account?? does it required the client's browser and web server located
in the same domain??
and what is the different between using AD and LDAP??
Million Thanks.
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by A.Dagostino | last post: by
1 post views Thread by praveen | last post: by
9 posts views Thread by webrod | last post: by
2 posts views Thread by Boujii | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.