in reply to Passwords in scripts

You don't say what your application is. If it's a web app, you might want to place a password file outside of your web root (as well as taking the other precautions mentioned above). If it's just for generic db apps, you may wish to have a look at Perl for Oracle DBAs. It has code/links for a centralised password server which supplies the passwords over an encrypted connection. Even if you're not using Oracle, you should be able to adapt it to your needs ... unless it's overkill for you task at hand, of course

Replies are listed 'Best First'.
Re: Re: Passwords in scripts
by xorl (Deacon) on Mar 24, 2004 at 21:53 UTC
    The script which prompted this was something I plan to use when I login to my box at work. It should request a page from a website, parse out an IP address on the page, and export it to a bash enviornemntal variable. All this so I can find the IP address of my computer at home (I guess I really could just use dyndns.org or myip.org or some other similar place).