in reply to Structuring a Web site and security issues
MySQL in particular has a neat trick for keeping your password and username secure and out of your code entirely (best practice: never hard code passwords). So, if you're using it, check out DBD::mysql and look for mysql_read_default_file. The password (and dbuser and even other MySQL vars) can be in a config file only readable by the user (make its perms 0400 or 0600).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: #2 (Re: Structuring a Web site and security issues)
by wfsp (Abbot) on Dec 27, 2005 at 09:29 UTC | |
by Your Mother (Archbishop) on Jul 23, 2014 at 06:08 UTC |