Hello Alexis, I use PHP on our LAN at work using Windows authentication. If you want to restrict HTTP access to the directory using Windows permissions you'll have to: 1. Uncheck the Anonymous user authentication in IIS (in IIS 5.1: site properties > "Directory Security" > "Anonymous access and authentication control" > "Edit"). 2. Check "Integrated Windows Authentication" in the lower part of the dialog. That will allow users to run the PHP script in the security context of their username. 3. Set permissions on the folder or files to whomever's account or groups you wish. 4. Use the Windows domain name account (username only, no passwords) in PHP for authentication to the folders/files possibly using a (My)SQL database or (maybe) through LDAP. I can't confirm the LDAP method as I've not had much success using Active Directory with PHP, but only read of it. I hope this helps your situation. Jw -----Original Message----- From: Alexis [mailto:phpinfo@xxxxxxxxxxxxxxx] Sent: Wednesday, October 10, 2007 5:02 PM To: php-windows@xxxxxxxxxxxxx Subject: Permissions on Server 2003 Hi, I am trying to read the contents of a directory on a Server 2003 network. I have removed the 'General Users' from the set of permissions on the directory, as only the owner of the directory is allowed to access it. In this case myself. Now by doing this I am obviously stopping PHP scripts from accessing this directory. How can I get around this? Can I pass the Username and password through the scripting, or do I need to set up a new user group and assign it to the PHP scripts as it were. In either case how would I go about doing it? TIA Alexis -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php