You can install an apache module which does this. Then all you do is edit apache's httpd.conf file to say which directories you want to be authenticated and information about your NT domain and backup servers etc... e.g. <Location /devel/apps/app1> Authname "Company Intranet Server" AuthType Basic Auth_SMB on Auth_SMB_Authoritative on Auth_SMB_Server SERVER1 Auth_SMB_Backup SERVER2 Auth_SMB_Domain DOMAIN1 #had to modify code for multiple domain access #Auth_SMB_Server1 SERVER1a #Auth_SMB_Backup1 SERVER2a #Auth_SMB_Domain1 DOMAIN2 #Auth_SMB_Server2 SERVER1b #Auth_SMB_Backup2 SERVER2b #Auth_SMB_Domain2 DOMAIN3 require valid-user </Location> When a user tries to access an authenticated directory via their browser a login prompt will be displayed, they will not be able to progress until they have entered their correct NT username/password. Once they do apache then passes their NT username on to your app in the $REMOTE_USER global variable. The module is located at: http://guru.josefine.at/~mfischer/mod_auth_smb/ -Stewart -----Original Message----- From: Warren Vail [mailto:[EMAIL PROTECTED]] Sent: 18 July 2001 15:23 To: [EMAIL PROTECTED] Subject: [PHP] NT Authentication I am running php4/mysql/apache in a large NT complex, behind a firewall. How can I authenticate users to my site using NT authentication? Has anyone done this? thanks, Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]