Sometimes it's unavoidable. You can move the password to a configuration file, but you still have to worry about the security of that file.
What you should have is a special login with read-only rights, and only to tables and views used by that script. So if a 'hacker' gets the username and password, there should be nothing compromised except the information that can normally be gotten from running the script. (Depending on what the script does, there may still be too much information to divulge to just anyone in the database.)
In reply to Re: Hiding DBI Passwords?
by rrwo
in thread Hiding DBI Passwords?
by Coplan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |