Re: safest way to write a file to web server space?
| From: | Michal Migurski | Date: | Fri, 05 Mar 2004 23:38:30 +0000 |
| Subject: | Re: safest way to write a file to web server space? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179614@lists.php.net to get a copy of this message | ||
>Regardless of the fact that there are a million other ways of creating a
>CMS; assuming I'm doing it this way - what would be the safest way to
>copy the file into a web directory?
Does the file need to be created at the moment it's asked for, or can
there be a lag? You could use cron to poll some neutral location (say, a
list of requested values in a file in /tmp) and create the
directories/files as whatever user you choose.
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html