Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis security > january 2005 >

iis security : what difference between Integrated Windows Authentication in IIS configuration and Active Directory


dyw55a NO[at]SPAM yahoo.com
1/25/2005 11:58:08 AM
what difference between Integrated Windows Authentication in IIS
configuration and Active Directory
authentication?

thanks
Tom Kaminski [MVP]
1/25/2005 3:01:02 PM
[quoted text, click to view]

There's essentially no difference.

Di
1/25/2005 7:13:08 PM
Thank you for reply. But I really feel that they are different. We
had a machine which is not in AD. I could not validate username and
password through AD on this machine but I could user Integrated Windows
Authentication. BTY, my username is the same in this machine and AD
but passwords are different. Any thought?

thanks

[quoted text, click to view]
Tom Kaminski [MVP]
1/26/2005 10:35:28 AM
[quoted text, click to view]

If the server is not a member of the domain than of course you can't
authenticate against the domain AD. In that case you can only use accounts
local to the server.

Di
1/26/2005 10:57:53 AM
If the server is not a member of the domain, I have the same username
for this server domain and AD. Then, I could pass the Integrated
Windows Authentication on this server. So Integrated Windows
Authentication are different from the AD, right?


[quoted text, click to view]
Tom Kaminski [MVP]
1/27/2005 8:47:48 AM
[quoted text, click to view]

Ken - thanks for stepping in and giving a better explanation! : )

Ken Schaefer
1/27/2005 10:10:14 PM
Integrated Windows Authentication (IWA) refers to either NTLM authentication
or Kerberos authentication. When that field is checked, then IIS sends back:

WWW-Authenticate: Negotiate
WWW-Authentication: NTLM

http headers to the client. The client chooses which of the two it would
like to use (Negotiate = Kerberos). If the IIS box is not in a domain -or-
you have manually edited the metabase to change IIS behaviour, then
Negotiate will not be sent to the client.

AD authentication just means authenticating users against Active Directory.
That has nothing to do, per se, with Integrated Windows Authentication. IWA
involves detemining the authentication mechanism for sending the credentials
from the client machine to IIS *not* where the user's credentials will be
authenticated with. For example you can use Basic authentication and still
check the user's name/password against Active Directory. So IWA or Basic are
just different ways to having the client send the username/password to the
server.

For more information see:
http://www.adopenstatic.com/resources/books/293_CYA_IIS6_05.pdf

Cheers
Ken


[quoted text, click to view]

Di
1/28/2005 11:07:58 AM
Ken - Thank you very much for your reply.

Could I make following conclusion?

1. If web server (windows 2000) is in the same domain as Active
Directory, then you use IWA to authenticate username/password and
doamin is actually using AD, right?
2. If web server is in the different domain from AD, then you use IWA
means you authenticate the username/paswword and domain through
whereever domain the web server locate and you could not really use AD,
right?

Again, thanks a lot for all your help.
Di
1/29/2005 8:27:52 PM
Again, Ken - thanks for reply.

[quoted text, click to view]

No - IWA is just a way of getting the credentials from clien=ADt (eg
browser)
to server (IIS)

If user enters Domain\Username then you will attempt to auth=ADenticate
against
AD
If user enters Machine\Username then you will attempt to aut=ADhenticate

against the local accounts database on IIS

Di: What happen if you only let user enter username instead of Domain
or Machine before the username? I assume when you check IWA, then it
automatically attempt to authenticate against AD. If it failed, then
authenticate against the database on IIS, right?

[quoted text, click to view]


I'm not sure I understand what you are saying here. Are you =ADtalking
about an
NT domain? All other domains (Windows 2000, Windows 2003) in=ADvolve
Active
Directory. You can't have a Windows 2000/2003 domain without=AD AD. If
you have
an NT domain -and- you have a trust relationship between the=AD NT
domain and
AD domain, then you can use ADDomain\User or NTDomain\User

Di, Does Windows 2000 web server had to involve AD? I am sorry that
this must happen and it could not exist in some domain outside of AD
..=2E. ...

BTY, do you know what schema AD have and what the detail size or data
type for those AD attribute, such as First Name, Last Name, phone
number, etc? How hard to run complex query based on AD?
Thanks you very much for your help!
Ken Schaefer
1/29/2005 10:51:57 PM

[quoted text, click to view]

No - IWA is just a way of getting the credentials from client (eg browser)
to server (IIS)

If user enters Domain\Username then you will attempt to authenticate against
AD
If user enters Machine\Username then you will attempt to authenticate
against the local accounts database on IIS

[quoted text, click to view]

I'm not sure I understand what you are saying here. Are you talking about an
NT domain? All other domains (Windows 2000, Windows 2003) involve Active
Directory. You can't have a Windows 2000/2003 domain without AD. If you have
an NT domain -and- you have a trust relationship between the NT domain and
AD domain, then you can use ADDomain\User or NTDomain\User

Cheers
Ken

AddThis Social Bookmark Button