IIS folder permissions for uploading images

images php coding issues or problems here.

Moderators: macek, egami, gesf

Markol
New php-forum User
New php-forum User
Posts: 6
Joined: Fri Nov 19, 2004 12:03 pm

IIS folder permissions for uploading images

Postby Markol » Thu May 26, 2005 7:04 am

I want to allows an administrator to login and upload images by submitting a form. This works with php on unix server but now im working on Windows server. What permissions should I set on the 'images' folder in order to allow file uploads.
I am getting an error at the moment:

move_upload_file ...... permission denied......

Using Windows server is the only option available

sadisticmachine
New php-forum User
New php-forum User
Posts: 109
Joined: Tue Nov 02, 2004 5:33 am

Postby sadisticmachine » Thu May 26, 2005 12:16 pm

The PHP process on WinServ/IIS is listed as owned by a public account. You must make sure that account has access.

Markol
New php-forum User
New php-forum User
Posts: 6
Joined: Fri Nov 19, 2004 12:03 pm

write permissions for IUSR

Postby Markol » Fri May 27, 2005 7:05 am

Got the answer.
Write permissions should be set for the IUSR for the images folder to allow easy uploading of images.
My ISP weren't happy with the security of this so I uploaded the images to the database in BLOB (binary) format and downloaded them when needed.


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest