note 1744 deleted from mysql_connect by danbeck
| From: | danbeck@php.net | Date: | Thu, 07 Sep 2000 15:25:41 +0000 |
| Subject: | note 1744 deleted from mysql_connect by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4352@lists.php.net to get a copy of this message | ||
RE: passcodes in web scripts:
What I do on my system is make the php file 750 (-rwxr-x---) and make myself the file owner, and
the file's group be the group of the user that the web server runs as. Then you can do
anything w/ the file, and other people can only view it through the webserver. How secure that
is, kinda depends on what group your webserver runs as, etc, but it gives you an idea.