Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: best way to store an oracle login/passwd in a startup script?
"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