Restrict where PHP is Usable?
| From: | Matthew Walker | Date: | Tue, 02 Oct 2001 21:30:29 +0000 |
| Subject: | Restrict where PHP is Usable? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-69644@lists.php.net to get a copy of this message | ||
I've seen this done before on servers, but I'm not sure how to do it.
Is there a way to restrict PHP to certain directories, so that it can
only be used by files within those directories?
For example: I'm starting a web page hosting service, and I'd like to
make it so that most users can't use PHP. They'll have to pay a (very
small) monthly fee to have access to it. This is partly as a very loose
security measure, so that not everyone has access to PHP.
--
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.282 / Virus Database: 150 - Release Date: 9/25/2001