your scripts have to have to be readable by your apache user/group if it
can't read them then it can't run them. now as for being allowed to only
view files of yours, you would want to place the apache user in your group.
this will give it access to read your files, but so will others running
Use include files to pass your authentication information.
?
include('auth.php');
?
auth.php:
?
$username=foo;
$password=bar;
?
put auth.php in your home directory with you as owner and apache group id
as group, or create a group that contains you and apache user (probably
'nobody').
$ chmod
file. (Any file that is readable by
the webserver is, in essence, readable by any script being
executed by that webserver - which, to say the least, can
be a rather large security problem)
-Original Message-
From: Michael Geier [mailto:[EMAIL PROTECTED]]
Subject: Re: [PHP] Access rights
3 matches
Mail list logo