From: "Alex Hogan" <[EMAIL PROTECTED]> > Is it possible to use the users WinNT network login for a php app? > If so can someone point me in the direction for a tutorial or directions.
Assuming IIS, turn off "anonymous access", which will force them to log in as a user that has permission to reach the file they reqested. I believe you can then use $_SERVER['LOGON_USER'] or something similar to find out their username. (This also assumes an NTFS file system, but that should already be in place). It's the same as restricting access to any other file on Windows using the security settings. You remove the "Everyone" user and give access to either specific users or groups. If this is confusing or I wasn't clear on something, feel free to ask more questions. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php