> I am developing the company Intranet, and would like
> it to automatically check to see if the User is logged
> into the Network. My question is how can I reference
> the current NT profile on the client machine, and then
> use that value throughout the site to personalize it
> (probably with a cookie).
>
> Currently I have the user logging in to the site,
> and then assigning the username as a cookie variable
> to be later referenced. I want to bypass the hole
> seperate login and just use the NT information that
> already exists.
If you've standardized on IE 4+, this is pretty easy. You'll have to run IIS
and use NTLM Authentication to secure your pages, which will require the
browser to pass an NT authentication token to the server. You'll then be
able to access the CGI.AUTH_USER variable to identify the user by their NT
username. You'll need to make sure that the web server authenticates against
the same domain as the users, and you'll have to set up the users' browsers
to automatically send the username and password (the default, at least for
IE 5, is to show a login prompt). You can set this by digging into the
browser's Security Settings, then going to User Authentication ... Logon,
and selecting "Automatic Logon only in Intranet zone". You'll also have to
add the desired site to the list of "Local Intranet" sites. These
instructions are specific to IE 5, but I think things work similarly in IE
4.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.