Re: Anonymous Site with NTLM Optional
- From: Roberto Franceschetti <roberto_remove_this@xxxxxxxxxx>
- Date: Fri, 10 Jul 2009 17:01:55 -0400
Usually public websites will be hosted in a DMZ, and development sites in an internal secured network. The DMZ domain and the internal domains are thus usually separate (and without any trusts - allowing the DMZ and the internal domains to communicate would require opening specific ports thru the firewall that would make the concept of using a firewall futile).
If this is your scenario, when testing using development the workstations with the browser clients and the webserver will likely be in the same domain, and thus there are no issues with NTLM. The server in the DMZ is in another domain however, and thus NTLM from your internal workstations will not work. The same applies when browsing the public webserver from the web. "Internet" users will not be on the same domain as the public webserver, and thus NTLM can't be used.
Switching to "Basic" authentication should help with the cross-domain issue, but I'm not sure if the http_auth_user is carried over to the anonymous side...
If that is not your scenario (DMZ, separate domain, etc) then I apologize for incorrect info (even though I'd still recommend not having a public website have any Active Directory-related connections to your internal domain).
--
Roberto Franceschetti
LogSat Software
http://www.logsat.com
Marc J. Cawood wrote:
We have site on IIS6 Windows Server 2003 that must be public yet we.
would like NTLM to be an optional authentication method for special
users. We have 2 virtual directories
/kb (anonymous AND NTLM)
/kbauth (NTLM only)
All users come to /kb and that is the main application path. When they
click a special link they get taken to /kbauth and NTLM kicks in so
that they are authenticated against the domain. It then redirects them
back to /kb. This is our strategy for implementing optional login via
NTLM.
The problem is in our DEV environment this works and HTTP_AUTH_USER is
retained when going back to /kb. In PROD (identical server)
HTTP_AUTH_USER is lost.
In DEV the browser (IE8) seems to send credentials to /kb (at least
once) but in PROD not.
Surely this must work - otherwise what is the point in IIS of allowing
Anonymous AND NTLM if NTLM is never triggered?
Thanks in advance
- References:
- Anonymous Site with NTLM Optional
- From: Marc J. Cawood
- Anonymous Site with NTLM Optional
- Prev by Date: RE: IIS 5/XPPro/SP3 -- re-install issues?
- Next by Date: Should Client for Microsoft Networks and File and Printer Sharing for Microsoft Networks be unbound from the NIC on Internet-facing web servers?
- Previous by thread: Anonymous Site with NTLM Optional
- Next by thread: Re: Anonymous Site with NTLM Optional
- Index(es):
Relevant Pages
|