Re: Security problem?
| From: | Analysis & Solutions | Date: | Wed, 26 Jun 2002 01:16:22 +0000 |
| Subject: | Re: Security problem? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103869@lists.php.net to get a copy of this message | ||
On Tue, Jun 25, 2002 at 08:53:40PM -0400, John Holmes wrote:
>
> I don't think this applies with PHP as a CGI on a virtual server, does
> it? It doesn't matter if your scripts control access, if you include()
> it or whatever, that means PHP has access to it. So does another users
> PHP script have access to it, too?
Huh? Not that I know of. PHP as CGI is running as my user id. For other
people on the server, PHP runs as their user id. Thus, only my scripts
have access to my files if I give them 600 permissions.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409