BCP for passing $password to a command-line Perl script?
[email protected] (Ivan Shmakov)
| Newsgroups | perl.dbi.users |
|---|---|
| Message-ID | <[email protected]> |
BTW, what is the best current practice to pass ->connect () $password to a command-line Perl script? Both specifying it via a command-line argument or via an environment variable (DBI_PASS) is insecure, as on some systems this information could easily be seen by the other users on the same host. Perhaps, some variation on Net::Netrc should be used instead? My primary interests currently are PostgreSQL, which can use Kerberos, and SQLite, which uses filesystem access rights instead, but just for the case… -- FSF associate member #7257
signature.asc
(application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk1bgK0ACgkQ+MvqjYjLOAyHqQCgso/Y6Tn1lyPip392ZoIOvU+z TCgAn2rhhRRawdBzo1MgA0NBWLsM2acF =zn5A -----END PGP SIGNATURE-----