Re: Security on Shared Servers
| From: | Adrian Lopez | Date: | Thu, 21 Sep 2000 23:38:04 +0000 |
| Subject: | Re: Security on Shared Servers | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3052@lists.php.net to get a copy of this message | ||
Adrian Lopez wrote:
>
> The solution is to chgrp the file containing the password to nogroup.
>
Oops... add to that changing permissions so that access is forbidden to
all but the owner of the file and the group nogroup. The disadvantage to
doing this is that whenever you modify the file the group reverts back
to the owner's own group. As far as I know only root can change it back
to nogroup, which means you have to wake up the admin every time you
make some changes.
=============================================================
= Adrian Lopez <adrian2@caribe.net> =========================
= if (ideals != reality) return frustration; ================
=============================================================