[PHP] Problem - Running PHP with different groups (Safe hosting enviroment)

2004-11-01 Thread Eric Bolikowski
Dear PHP-list,

Me and a small group of developers are thinking about making a Norwegian
free hosting service.
This service features PHP, MySQL and a lot of different services.

Everything we have sat up is ready - Cpanel handles making the most. When a
user is registered, we call by HTTP the Cpanel admin panel, setting up a
subdomain, making a FTP Account, making a mail adresses and making a folder.
All this works fine - but there is one serious hinch.
How are we supposed to stop people from including each others files???
We have a structure somewhat similiar to this one:
/home/cu/[USER_ACCOUNT]/.
Then, a script in /home/cu/test1/, is fully capable of doing file operations
with the f* functions at /home/cu/test2, and has practically full access.

We know how to make a group, and making a user for that particular group.
Now what we think we're supposed to do, is that the folder made when
registrered, is owned by this usergroup, and the chmod rights are set to
group read, write and execute, and nothing else.

But how are we supposed to make a folder being owned by a group, and how can
we run php so that it will run under a special group and not being able to
open other folders?

We know a little about UNIX, but not that much. That's our problem.

Would be really happy if anyone could help us out!

Eric Bolikowski

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] problem running php

2001-07-26 Thread raj kumar

Hi,
Though i am running php on apache server on my win98 machine perfectly,
recently i install apache and php on my win2000 server, apache start very
well but php is not working,  as it seems, though  when i run phpinfo out of
my server with php.exe it runs but it dosen't show in browser whenever i go
through localhost\phpinfo.php. What's matter. I faced this problem on my
win98 maching too, but somehow it worked, and probable that too after
installing PWS and making script executable one.
I will thankful to you if u solve my problem with explanation.

Regards,
Raj k Bhatt


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] problem running php

2001-07-25 Thread raj kumar

Hi,
Though i am running php on apache server on my win98 machine perfectly,
recently i install apache and php on my win2000 server, apache start very
well but php is not working,  as it seems, though  when i run phpinfo out of
my server with php.exe it runs but it dosen't show in browser whenever i go
through localhost\phpinfo.php. What's matter. I faced this problem on my
win98 maching too, but somehow it worked, and probable that too after
installing PWS and making script executable one.
I will thankful to you if u solve my problem with explanation.

Regards,
Raj k Bhatt


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]