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: encrypting passwords in pl/sql

Re: encrypting passwords in pl/sql

From: Wayne Balmer <wbalmer_at_wainwrights.com>
Date: 1997/04/18
Message-ID: <5j7seg$42o$1@picasso.op.net>#1/1

ltost_at_systemautomation.com wrote:

>Here's the situation:
 

>We need to store Oracle UserIDs in a second table with some other
>information. This table will provide the data necessary to authenticate
>our users (using passwords other than the ones in dba_users) before they
>do anything (access the database or any of our application servers). We
>would like to have a pl/sql procedure which would add/delete/check userID
>and password combinations in our table. Is there any crypt type function
>in pl/sql? Right now, I am looking at plex and will probably try to have
>my pl/sql call a c routine which will do the encryption. But i'd rather
>keep it all in pl/sql.
 

>We need this additional table because we will have application servers as
>well as the database (therefore, they have to be authenticated w/o
>necessarily being connected to the database).
 

>On the other hand, is it possible to have our authentication server call a
>pl/sql procedure which validates the user id and password against the
>oracle userid and password? I see that the password is encrypted in
>dba_users-- is this encryption algorithm available?

Pick one or the other from above.

I would suggest creating some functions to ENCRYPT and DECRYPT from the password field in your table.

As for getting Oracle's algorithm, if we had that, then Oracle wouldn't be very secure, would it.....?

I hope this helps

Wayne Balmer
wbalmer_at_wainwrights.com

>Thanks.
>/------------------------------------------------------------------
>ltost_at_systemautomation.com
>** The above views probably do not reflect those of my employer **
>** The views above do not necessarily reflect those of my employer!
 

>-------------------==== Posted via Deja News ====-----------------------
> http://www.dejanews.com/ Search, Read, Post to Usenet

Wayne Balmer, WAINWRIGHTS, inc.
wbalmer_at_wainwrights.com
www.op.net/~wbalmer (modest home page) Received on Fri Apr 18 1997 - 00:00:00 CDT

Original text of this message

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