|Think about Loose Coupling|
Re: DBD::Oracle Connecting to a database without hard coding username/passwordby BrowserUk (Pope)
|on Oct 11, 2011 at 00:54 UTC||Need Help??|
What are my alternatives?
Arguably the best method of DB authentication is to instruct the DBM to use the OS to authenticate users.
See here for Oracle.
If the script(s) in question are to be used by a large number of users, then combining OS authentication with controlling visibility of te scripts through file system ACLs is a convenient mechanism. You place the scripts on shared media owned by a particular group and then give authorised users membership of that group.
The exact steps required will depend upon your DB and OS. The best place to look is the relevant documentation.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.