Unix Technical Forum

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

This is a discussion on best way to store an oracle login/passwd in a startup script? within the Oracle Miscellaneous forums, part of the Oracle Database category; --> We have a webapp (under apache) that needs to connect to the database. Of course, since it starts up ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 01:04 PM
Mark Harrison
 
Posts: n/a
Default best way to store an oracle login/passwd in a startup script?

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@myoracle

Is there a better way to do this?

Many TIA!
Mark

--
Mark Harrison
Pixar Animation Studios
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 01:04 PM
Ana C. Dent
 
Posts: n/a
Default Re: best way to store an oracle login/passwd in a startup script?

Mark Harrison <mh@pixar.com> wrote in news:C0Dei.5809$c06.2741
@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@myoracle
>
> Is there a better way to do this?
>
> Many TIA!
> Mark
>


By using OS authentication, no password is needed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 01:04 PM
Tim Arnold
 
Posts: n/a
Default Re: best way to store an oracle login/passwd in a startup script?


"Mark Harrison" <mh@pixar.com> wrote in message
news:C0Dei.5809$c06.2741@newssvr22.news.prodigy.ne t...
> 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@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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com