Re: [PHP] User access rights..

2001-11-25 Thread Kurt Lieber
On Sunday 25 November 2001 04:08 pm, Ali Pakkan wrote: > And consider they are real users, then how will i tell Apache server to > run as the user owning the file? Using the PHP module, you can't. Using PHP as a CGI, you can use something like cgiwrap to execute under the user's account > Is

Re: [PHP] User access rights..

2001-11-25 Thread Ali Pakkan
I should explain a bit more in detail.. Actually, the users can have php files. And these php files can access other users' stuff. And consider they are real users, then how will i tell Apache server to run as the user owning the file? Is it impossible for a real solution? On Sun, 25 Nov 20

Re: [PHP] User access rights..

2001-11-25 Thread Hank Marquardt
> I want to keep their information on Mysql. That is, > if possible I don't want to create real system accounts. > > The problem is... using PHP, they can open any file > that is readable to nobody account (Apache user).. > So it can read and even edit other users' files.. > These two statemen

Re: [PHP] User access rights..

2001-11-25 Thread Kurt Lieber
On Sunday 25 November 2001 03:30 pm, you wrote: > The problem is... using PHP, they can open any file > that is readable to nobody account (Apache user).. > So it can read and even edit other users' files.. > > Consquently, the users should be able to access only and only their home > directories.

[PHP] User access rights..

2001-11-25 Thread Ali Pakkan
Hello, I have a machine which is running Php4 on Apache 1.3 And I want to make a hosting site that the users can register themselves online. They will have a home directory and so they will be able to put their web files (html, php, images etc.) under there. I want to keep their information on