in reply to How to hide a password in a script?
How to hide a password in a script?
The answer is: you don't.
If your script, when run, can reproduce the password, then everyone who can read that script's code can, as well. They don't even need to figure out how your obfuscation works, if that's the only obfuscated part of the program.
There is no way to do what you want.
davido has provided some good advice on what you should do instead. Heed it.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to hide a password in a script?
by dataking (Acolyte) on Aug 06, 2004 at 06:45 UTC | |
by Aristotle (Chancellor) on Aug 06, 2004 at 19:02 UTC |