Limiting PHP's read / write access to certain folders.
Posted: Sun Feb 15, 2009 11:58 am
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.
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.