Reply to Re: Permissions on uploaded image don't allow for over writing

Your name:

Reply:


Posted by Raj Shekhar on 01/31/05 05:06

Dave <dave@tokyocomedy.com> writes:

>
> The Question:
> How do I allow a user, who is uploading via the web, place an
> image on the server with permissions that allow the file to be over
> written?
>

Since you say that the images are uploaded using HTTP, the files will
be owned by the user apache (or nobody). The file permission allow
read and write to the owner. You do not need to modify them.

If the user again uploads the files via HTTP, you do not have to worry
about whether he has the permissions to overwrite the files. He *will*
be able to overwrite the files.

--
Raj Shekhar
System Administrator, programmer and slacker
home : http://rajshekhar.net
blog : http://rajshekhar.net/blog/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация