Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Question of safe data passing...

by turnstep (Parson)
on Apr 27, 2001 at 17:52 UTC ( #76090=note: print w/replies, xml ) Need Help??


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
    if the script is running as you, you can see the environ file in /proc
                    - Ant

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://76090]
help
Chatterbox?
[Corion]: marto: A rough week comes to an end?
Corion has to finish off some test tickets and hopefully close them. Also I have to prepare some information for the tax people on the weekend :-/
[marto]: it feels like 2 weeks :)
[Discipulus]: sane dots for your weekend marto!
[choroba]: My week was hectic as well, and so will be the next several ones...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-01-20 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.