Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Verifying User/Password
Wayne,
Assuming you're on 8i, I hacked together a little script that might help you. The function itself is really inelegant--it creates and destroys a database link--but it's all I could think of short of an external procedure or maybe some weird Java thing.
http://plnet.org/files/verify_user.sql
Caveat emptor: if I were a security officer, I wouldn't approve this approach, since a password should never get sent anywhere in clear text.
Let me know if it works for you.
Good luck
Bill
Wayne S Bellefeuille wrote:
> >From within a stored procedure, if I was given a userid and password (as
> parameters), is there any way to verify if this userid/password combination is
> valid on my database? That is, can I do something like a "connect" within a
> stored procedure or somehow use the encrypted password in the DBA_USERS view?
>
> Wayne Bellefeuille
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Wayne S Bellefeuill
> INET: wbellefe_at_allina.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
-- ______________________________________________ http://www.datacraft.com/ http://plnet.org/ -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Bill Pribyl INET: bill_at_datacraft.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Feb 22 2001 - 01:36:07 CST