Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: restrict login with known IP address
You are right "old protocol.ora" is OK, of course. System Event will give us much more flexibility, i.e., restrict logins under certain conditions, anybody can easyly find dozen of them.
All the best, Vadim
What about the old protocol.ora?
> -----Original Message-----
> From: Vadim Gorbounov [SMTP:vgorbounov_at_simplyengineering.com]
> Sent: Tuesday, May 08, 2001 20:17
> To: Multiple recipients of list ORACLE-L
> Subject: RE: restrict login with known IP address
>
> Hello, Joseph
> Try something like this
>
> CREATE OR REPLACE TRIGGER IP_CATCH AFTER LOGON ON DATABASE
> BEGIN
> if ora_client_ip_address = '172.16.0.175' then
> raise_application_error(-20001, 'No way from
> '||ora_client_ip_address);
> end if;
> END;
> /
>
> HTH
> Vadim Gorbounov
> Oracle DBA
>
>
> -----Original Message-----
> Sent: Tuesday, May 08, 2001 1:26 PM
> To: Multiple recipients of list ORACLE-L
>
>
> In UNIX,
> Knowing the IP address can I restrict any login
> to the ORACLE db given this info?
>
> any help is appreciated ...
>
> Joe
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Leyden, Joseph
> INET: LeydenJ_at_MTA.NET
>
> 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).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Vadim Gorbounov
> INET: vgorbounov_at_simplyengineering.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).
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Hatzistavrou Giannis INET: j.hatzistavrou_at_telesoft.gr 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Vadim Gorbounov INET: vgorbounov_at_simplyengineering.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 Wed May 09 2001 - 10:12:39 CDT