0

I need perl script to connect to database, but don't want the password in plain text.

any suggestion how to hide the password in plain text would be great.

Mohammed
  • 49
  • 1
  • 1
  • 6
  • I am completed new to perl script, need to know how it can be done. – Mohammed Sep 24 '17 at 05:10
  • 5
    Being new to Perl does not mean that your question is specific to Perl or that you are not able to read, understand and follow the existing answers to this problem. – Steffen Ullrich Sep 24 '17 at 05:23
  • The password must be written within perl script, but not readable as plain text ? – ulix Sep 24 '17 at 07:49
  • Even an encrypted password must be decrypted before using it to access the database. If someone has access to read a non-encrypted password then they can also see the result after the code has decrypted an encrypted password. The best solution is to prevent access to your program code. – Borodin Sep 24 '17 at 14:52
  • This [perl] question was closed as an exact duplicate of a [PHP] question. Bad form, chaps. – Ashley Sep 25 '17 at 02:39

0 Answers0