No Jeff, that's not what I am looking for.

Let me explain the scenario in detail.

My application users Perl-DBI and at present I have encoded my username and
password in the perl program. Now, as my
testing is over, I would like to publish this code to my team so that they
can checkout the latest version from the pvcs and
use it.

The problem comes now only. I want the application to use there
username/password pair instead of mine. That's the
reason, I don't want to put my hardcoded username and password in my file.

There could be some ways as a way around  which I have listed below but none
of them is the best :-


   - *Put username and password through environment variable* : bad idea to
   use environment variables here
   - *Ask at runtime* : I would like my application to run without user
   input at runtime.


Regards,
Amit Saxena

On Mon, Jul 14, 2008 at 3:02 PM, Jeff Peng <[EMAIL PROTECTED]> wrote:

> On Mon, Jul 14, 2008 at 4:40 PM, Amit Saxena <[EMAIL PROTECTED]>
> wrote:
> > Hi
> >
> > Instead of hard-coded passwords in my source code or an input file, I
> would
> > like to enable some sort of encryption through some keys for all the
> > usernames in Oracle 10g.
> >
> > Please let me know how to do that with Perl DBI ?
> >
>
> You focus on how to store datas into database, not on how to encrypt
> datas, is it?
> DBI can do that, see `perldoc DBI`.
>
>
> --
> Regards,
> Jeff. - [EMAIL PROTECTED]
>

Reply via email to