Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Hiding passwords in scripts

by SpanishInquisition (Pilgrim)
on Sep 29, 2004 at 19:50 UTC ( [id://395115]=note: print w/replies, xml ) Need Help??


in reply to Re: Hiding passwords in scripts
in thread Hiding passwords in scripts

Use a hidden file such as .password
This 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://395115]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-19 05:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found