Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: assign different vhost to different users and php execution |
|
Author |
|
Rubberick
Joined: 10 Jul 2008 Posts: 4
|
Posted: Thu 10 Jul '08 22:08 Post subject: assign different vhost to different users and php execution |
|
|
Is possible?
One of the main problem i get migrating from iss to apache 2.2.x is that group and user (there were the name of directives in apache 1.3, in 2.2 i don't remember exactly directive names) are not enabled because these options works only for linux.
So for me this is not possible assign to different users differente privileges...
Imagine you have a root folder and 2 folder user_a, user_b...
root dir
-- user_a
-- user_b
If i give them all a php access they will be able to read (eg with a file_get_contents() function) stuff inside other users directory or similiar...
Someone can say yeah so disable file_get_contents(), file(), file pointers and stuff...
But i need to give users access to these functions... i'm in a gaming server enviroment... they use scripts to read local and remote files to build status and more...
The final question is... there is a way to run php safely for all user but limit themselves in their dir with apache 2.2.x for win and php 5.2.6? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 28 Jul '08 16:28 Post subject: |
|
|
You can disable functions in a directory with PHP_Admin_value |
|
Back to top |
|
|
|
|
|
|