Re: php not run as cgi.

From: Date: Sat, 30 Jun 2001 22:34:18 +0000
Subject: Re: php not run as cgi.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55694@lists.php.net to get a copy of this message
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 (nobodyok@sinaman.com): > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- [ 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. ]

« previous php.general (#55694) next »