Hello, this is my first post in this forum.
I am trying to create a shared hosting environment. I'm going to be putting multiple customers on the same server. I have different folders for each customer where they can put their htdocs. My question is this: Can I somehow limit php's access to other customer folders so they can't accidentally or purposely mess with each others files using php? Is there some way I can make an .htaccess file or something simple like that which allows php to run, just not accessing other folders. Thank you.
Limiting PHP's read / write access to certain folders.
Moderator: General Moderators
-
pillarshadow
- Forum Newbie
- Posts: 2
- Joined: Sun Feb 15, 2009 11:54 am
Re: Limiting PHP's read / write access to certain folders.
php-fpm allows running several php interpreters under different user accounts, there's also a method of running php under suexec.
-
pillarshadow
- Forum Newbie
- Posts: 2
- Joined: Sun Feb 15, 2009 11:54 am
Re: Limiting PHP's read / write access to certain folders.
Thank you for the suggestions. I'll see if these will work for me.