Re: IIS Password Protected Directory 403 Errors on PHP pages

From: Miguel Orrego (miguel_at_stressedmonkey.net-nospam)
Date: 12/02/04


Date: Thu, 2 Dec 2004 03:38:32 -0000

I once had something similar, do your php pages include any files that are
outside the directory that you have permissioned?

I was using asp and including a file in another directory and hadn't given
the users permissions to that, 403 errors were returned.

"Ryan Hubbard" <ryanmhuc@yahoo.com> wrote in message
news:ab43e670.0412011212.180fb512@posting.google.com...
> I'm having difficulty accessing php pages on my site in a password
> protected directory using IIS 5. Html pages in the same directory I
> don't have a problem with just PHP pages. PHP is setup correctly and
> there are other php pages running in other non protected directories.
> I have tried giving the user name full access with NTFS permissions
> and sharing permsission to the folder and then all folders above it to
> the actual drive itself but still no luck. Any help would be greatly
> appreciated.



Relevant Pages

  • Re: public_html folder permissions preventing use of system()
    ... I can use systemcommands, but to do this I need to be able to have 777 ... permissions on a folder as Apache is run as a completely seperate user. ... So if I can't change permission in PHP I can't see a way around it. ...
    (alt.php)
  • Re: [PHP] File Upload Security and chmod
    ... PHP ftp functions, but I have used the PHP functions chmodand mkdir ... >what permissions do you set the parent folder at when you are finished ... upon the permissions the parent folder. ...
    (php.general)
  • Re: [PHP] File Upload Security and chmod
    ... The FTP will be slower, ... your files at will in PHP. ... all of the directory creation and permissions changes? ... upon the permissions the parent folder. ...
    (php.general)
  • Re: [PHP] File Upload Security and chmod
    ... I ran into the same problem trying to work with, and understand, permissions on a virtual host. ... the key to setting the permissions of a file depends upon the permissions the parent folder. ... that also presents a major security hole because then anyone can use that folder to upload and run evil code. ... I thought perhaps php had something like that and as such I discovered how to ftp connect via php. ...
    (php.general)
  • Re: write with cURL
    ... offers PHP, if they don't allow PHP to open and write ... Check the permissions on the directory the file is ... such as chmod 0666 test.txt ... their server configuration is, too, though. ...
    (alt.php)