Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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]
LanX what?
marto deletes himself from the all lists
QM deletes himself from all delete lists
LanX passes the blame to jdpatches. ..
Eily the verb from this sentence

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2018-03-20 10:12 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (249 votes). Check out past polls.