Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: DBD::Oracle Connecting to a database without hard coding username/password

by BrowserUk (Pope)
on Oct 11, 2011 at 00:54 UTC ( #930713=note: print w/ replies, xml ) Need Help??


in reply to DBD::Oracle Connecting to a database without hard coding username/password

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.


Comment on Re: DBD::Oracle Connecting to a database without hard coding username/password

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://930713]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2014-12-26 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (175 votes), past polls