Reply to Re: Selective permission to write in the directory.

Your name:

Reply:


Posted by Jerry Stuckle on 07/29/07 13:25

Kurda Yon wrote:
> I want to create a publicly accessible php page which will generate
> images (with the GD library) and store them in some directory. For
> this I have to change the permission of directory (it has to be
> writable for everybody). However, as far as I understand, this will
> allow everybody to put in the directory whatever files. I would like
> that only my php program has permission to write to the directory. Is
> there any possibility to do that?
>

Your PHP script will run under the Web Server's user id, and should
limit access to that id. It doesn't matter who is accessing your web
page. Other users should not have direct access (i.e. ftp) to the
directory.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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