Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] creating files with php3 From: Chad Cunningham (ccunning <email protected>)
Date: 03/31/99

On a shared machine, yes. If you use the webserver to do things, then anyone who can
also use the webserver can do the same things. There's no way around it other than
using a database, or running your own webserver.

DATA fix wrote:

> So, writing something to files on your homepage dir is not safe
> at all, as any other user on that server can write to that too?
> (and possibly erase it too..)
>
> Should I use databases instead?
>
> Chad Cunningham wrote:
> >
> > Anything PHP does it does as your web server. The web server is a valid user on
> > the system. This means that php can only read/write files that the webserver has
> > appropriate permissions too. Anyone who can use php can access any file that the
> > web server has permissions to.

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>