Re: Placing the masterpassword
| From: | Jim Giner | Date: | Tue, 01 Nov 2011 13:41:51 +0000 |
| Subject: | Re: Placing the masterpassword | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315578@lists.php.net to get a copy of this message | ||
>
> I store things like this in a file above the document root - so not
> grabbable by URL.
> Don't store it in the code ... you then end up with the password stored in
> several
> places & then difficult to change.
>
> --
> Alain Williams
> Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
> Lecturer.
> +44 (0) 787 668 0256 http://www.phcomp.co.uk/
> Parliament Hill Computers Ltd. Registration Information:
> http://www.phcomp.co.uk/contact.php
> #include <std_disclaimer.h>
This is what I thought was proper protocol. Though I actually store my sql
password in a file that I include in my programs to make the sqlconnect to a
database. So - that way I don't have it stored in multiple places. And
yes - I use the same pswd for all my databases.