You can change the group to the group the webserver runs as and then make
the file mod 660 (this way the webserver can read but other people can't)
Hope this helps,
Julia
Quoting Jack ([EMAIL PROTECTED]):
> hi everyone,
> Does anyone know the best way to secure php source code so it is not
> group/world readable?
> I can read other users' php source code by writing a simple php script.
> I do not prefer to run php as cgi because all user's php file need to
> add the header
> #/usr/bin/php again.
>
> Thanks.
>
> Jack
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
[ Julia Anne Case ] [ Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for. ]
[ Admining Linux ] [ To thine own self be true. ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
PGP signature