Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Embeded passwords

by Plankton (Vicar)
on Aug 30, 2012 at 01:33 UTC ( #990616=note: print w/replies, xml ) Need Help??

in reply to Embeded passwords

Why not write a Perl script that has as its soul purpose is to supply your CGI scripts the password(s) they need. You would need to invoke this script from the command-line so it can prompt you for the password. This script then forks off into the background (becomes a daemon) and listens for connections and responds with the password. That way the password only exist in your brain and the daemon process. Of course someone could still modify your CGI scripts to print out the password it received from the daemon, but it is more secure that hardcoding the password in your CGI's. Also there are plenty of nodes that discuss similar problems, like Hiding passwords in scripts.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990616]
[Happy-the-monk]: Discipulus: most other Europeans must wait until 8 May for that day.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2018-04-25 09:26 GMT
Find Nodes?
    Voting Booth?