in reply to Question of safe data passing...
As I've said before, use environment variables. Unless your system is set up very strangely, they are not available in /proc. Then it's simple enough to do something like this:
my $username = $ENV{'LC_MONETARY'}; my $pass = $ENV{'FOOBAR'}';
That way, anyone else on the system can read your script, but it does them no good unless they are logged in to the account with the environment variables.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Question of safe data passing...
by suaveant (Parson) on Apr 27, 2001 at 17:54 UTC |
In Section
Seekers of Perl Wisdom