Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> 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).
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 Tue May 08 2001 - 12:52:18 CDT