"be consistent" | |
PerlMonks |
Re^2: Hiding passwords in scriptsby SpanishInquisition (Pilgrim) |
on Sep 29, 2004 at 19:50 UTC ( [id://395115]=note: print w/replies, xml ) | Need Help?? |
Use a hidden file such as .passwordThis is security through obscurity. The proper thing do here is to configure your database to identify itself in a more secure manner than using passwords in scripts. Meanwhile, keep in mind that dotfiles are NOT hidden in the least, and you probably want chmod 700. See here (can't find the official link, but it's still a good read): Auth-Methods for Postgresql Talk to your DBA.
In Section
Seekers of Perl Wisdom
|
|