in reply to Re: Re: Hiding passwords in scripts...
in thread Hiding passwords in scripts...

On a shell system, you can have a gateway 'suid' program that controls access to your application/module. You have to be careful about '-T'aint checking when you do this, though, to avoid being exploited.
#!/usr/bin/perl -wT use strict; use MyModule; # Your important module(s) # Now do something as the suid user MyModule::DoSomething();
Then set it to -rwsr-xr-x suid:     % chmod 4755 theprogram