smart_amorist has asked for the wisdom of the Perl Monks concerning the following question:
Hi All, I came across a situation where we are hard coding some critical information in a Perl script. Searched around but could not find a way to password protect the Perl Script. We can encrypt the script using existing encryption mechanisms, but I still prefer password protection. So I mean to say that someone should not be able to view or cat Perl script. We can set password on a file using vi -x but when I am setting password on Perl script using vi -x, I am unable to execute the script as it is giving error. (because vi -x is adding some unknown characters to script) Is there any workaround to it? Any help much appreciated.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Password Protect a Perl Script
by atcroft (Abbot) on Oct 29, 2013 at 02:11 UTC | |
by dsheroh (Monsignor) on Oct 29, 2013 at 09:09 UTC | |
Re: Password Protect a Perl Script
by LanX (Saint) on Oct 29, 2013 at 02:07 UTC | |
by hdb (Monsignor) on Oct 29, 2013 at 07:20 UTC | |
by MidLifeXis (Monsignor) on Oct 29, 2013 at 12:29 UTC | |
Re: Password Protect a Perl Script
by Anonymous Monk on Oct 29, 2013 at 02:06 UTC |