Re: Avoiding coding username/password directly into perl script

2004-03-17 Thread Jared Still
The PDBA toolkit has a password server. http://www.oreilly.com/catalog/oracleperl Jared On Wed, 2004-03-10 at 11:11, Chuck Fox wrote: [EMAIL PROTECTED] wrote: Hi there, I figured this would be a pretty common problem, but I didn't see anything in the FAQ or docs. We've got a script

Avoiding coding username/password directly into perl script

2004-03-10 Thread News Reader
Hi there, I figured this would be a pretty common problem, but I didn't see anything in the FAQ or docs. We've got a script that uses DBI to connect to SQL Server. There is a system DSN set up and this already has the username and password. So do we really need to pass them again, as shown

RE: Avoiding coding username/password directly into perl script

2004-03-10 Thread Sterin, Ilya (I.)
/password directly into perl script Hi there, I figured this would be a pretty common problem, but I didn't see anything in the FAQ or docs. We've got a script that uses DBI to connect to SQL Server. There is a system DSN set up and this already has the username and password. So do we

Re: Avoiding coding username/password directly into perl script

2004-03-10 Thread Peter Hircock
Hello Try passing them in as blanks. my $db = DBI-connect(dbi:ODBC:$dsn, '', ''); Peter News Reader wrote: Hi there, I figured this would be a pretty common problem, but I didn't see anything in the FAQ or docs. We've got a script that uses DBI to connect to SQL Server. There is a system

Re: Avoiding coding username/password directly into perl script

2004-03-10 Thread Hardy Merrill
You _do_ need to include the user name and password in the DBI connect statement, but the way to make it more secure is to not hardcode those in your scripts - create a Perl module in which you place variables that _do_ contain the hardcoded values, but place that perl module in a secure place on

RE: Avoiding coding username/password directly into perl script

2004-03-10 Thread Brad Fike
: Avoiding coding username/password directly into perl script Hi there, I figured this would be a pretty common problem, but I didn't see anything in the FAQ or docs. We've got a script that uses DBI to connect to SQL Server. There is a system DSN set up and this already has

Re: TeraNews: RE: Avoiding coding username/password directly into perl script

2004-03-10 Thread News Reader
] Subject: Avoiding coding username/password directly into perl script Hi there, I figured this would be a pretty common problem, but I didn't see anything in the FAQ or docs. We've got a script that uses DBI to connect to SQL Server. There is a system DSN set up and this already

Re: Avoiding coding username/password directly into perl script

2004-03-10 Thread Chuck Fox
[EMAIL PROTECTED] wrote: Hi there, I figured this would be a pretty common problem, but I didn't see anything in the FAQ or docs. We've got a script that uses DBI to connect to SQL Server. There is a system DSN set up and this already has the username and password. So do we really need to pass

Re: TeraNews: RE: Avoiding coding username/password directly into perl script

2004-03-10 Thread Hardy Merrill
= DBI-connect(dbi:ODBC:$dsn,,); -Original Message- From: Sterin, Ilya (I.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 12:43 PM To: [EMAIL PROTECTED] Subject: RE: Avoiding coding username/password directly into perl script well, if your database requires