Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

encrypt database password

Status
Not open for further replies.

devendrap

Programmer
Aug 22, 2001
50
US
How to encrypt database password in the perl script? Currently I have database password stored in the perl script, and CGI scripts uses this perl script to connect to database. I would like to encrypt the database password in separate file.

I have shell script to encrypt password file. I have shell command to read encrypted file, but don't know how to use that in CGI/PERL.

Shell Command:
DB=`crypt $key_pw < login_file`;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top