Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: best way to store an oracle login/passwd in a startup script?

Re: best way to store an oracle login/passwd in a startup script?

From: Tim Arnold <timkarnold_at_comcast.net>
Date: Fri, 22 Jun 2007 08:31:31 -0400
Message-ID: <4oSdnS1cfKlcX-bbnZ2dnUVZ_oOknZ2d@comcast.com>

"Mark Harrison" <mh_at_pixar.com> wrote in message news:C0Dei.5809$c06.2741_at_newssvr22.news.prodigy.net...
> We have a webapp (under apache) that needs to connect to
> the database. Of course, since it starts up automatically,
> we don't have a place where a user can type in a login
> name and password.
>
> An obvious solution is just to embed the name and
> password as part of the connect string in the apache
> config file:
> DB_CONNECT_STRING=myname/mypass_at_myoracle
>
> Is there a better way to do this?
>
> Many TIA!
> Mark
>
> --
> Mark Harrison
> Pixar Animation Studios

If you are using Windows, you can encrypt and/or store connection string and password in the registry. Received on Fri Jun 22 2007 - 07:31:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US