Windows Server Permission Problems

I am currently using a php gallery script on my Windows 2003 Server. A user can upload a file to the gallery through a browse box, and this creates a thumbnail and uploads the actual file to a "files" directory.

For some reason, the thumbnail loads fine, but the actual image is not visible to the user and a password box pops up in IE when trying to view it.

I know that the image uploaded does not have the correct file permissions, so I connect to the windows server and allow any internet user to view the file. It works then...

However, I would have to do this everytime someone uploads a file! I have changed the parent directory to allow internet access to the files, but it just doesn't inherit these for some reason?

Any ideas on what I need to do?

 

 

 

 

Top