php3-list | 199903
Date: 03/31/99
- Next message: Carsten H. Pedersen: "Re: [PHP3] Integer size and bitshifting == problems"
- Previous message: Steve Douville: "RE: [PHP3] Can't get PATH_INFO"
- In reply to: DATA fix: "Re: [PHP3] creating files with php3"
- Next in thread: DATA fix: "Re: [PHP3] creating files with php3"
- Reply: DATA fix: "Re: [PHP3] creating files with php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Carsten H. Pedersen: "Re: [PHP3] Integer size and bitshifting == problems"
- Previous message: Steve Douville: "RE: [PHP3] Can't get PATH_INFO"
- In reply to: DATA fix: "Re: [PHP3] creating files with php3"
- Next in thread: DATA fix: "Re: [PHP3] creating files with php3"
- Reply: DATA fix: "Re: [PHP3] creating files with php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

