logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: assign different vhost to different users and php execution
Author
Rubberick



Joined: 10 Jul 2008
Posts: 4

PostPosted: Thu 10 Jul '08 22:08    Post subject: assign different vhost to different users and php execution Reply with quote

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

PostPosted: Mon 28 Jul '08 16:28    Post subject: Reply with quote

You can disable functions in a directory with PHP_Admin_value
Back to top


Reply to topic   Topic: assign different vhost to different users and php execution View previous topic :: View next topic
Post new topic   Forum Index -> Apache