Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Hide DBI password in scripts

by afoken (Chancellor)
on Jan 13, 2018 at 13:08 UTC ( #1207194=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $db=DBI->connect("DBI:Oracle:sid=$DBSID;host=$DBHOST;port=$DBPORT;","$
    +DBUSER",`/path/shared_C_program`) || ($err=$db->errstr);
    
  2. or download this
    /tmp>cat password-keeper.c
    #include <stdio.h>
    ...
    26962 +++ exited with 0 +++
    
    /tmp>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2023-10-04 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?