Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to stop access to prod instance ...

RE: How to stop access to prod instance ...

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Mon, 07 Jan 2002 06:35:06 -0800
Message-ID: <F001.003E8479.20020107061020@fatcity.com>

Waleed,

I did not because what would I attempt to do? There is no "disconnect" or "logoff" command within PL/SQL. Even if I raised the exception, the user would get the exception message and be left at the SQL> prompt.

This is why I am asking Sam if he found another method to prevent the connection from continuing. Maybe there is something new that I am not aware of (it would not be the first time).

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Monday, January 07, 2002 9:00 AM
To: 'Mercadante, Thomas F '; 'Multiple recipients of list ORACLE-L '

 Did you check what happens if you raise an exception from logon trigger?

-----Original Message-----
To: Multiple recipients of list ORACLE-L Sent: 1/7/02 7:30 AM

Sam,

How do you create a LOGON trigger to *prevent* a connection from occurring?

Certainly, the LOGON trigger can track who connects with what tool. I am
doing the same thing with my web application - tracking connections and sending me a report every day of all connections.

But I have not found a way to prevent the connection - there is no way that
I've found to disconnect someone with the LOGON trigger.

Am I missing something - did you figure this out? Please share!

Thanks

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Saturday, January 05, 2002 11:40 PM To: Multiple recipients of list ORACLE-L

You can create a LOGON Trigger to stop users using anything i.e. SQLPLUS ,MSACCESS etc...
I have applied one at our site and works good. I even log people who try to
log in and get them to explain to management their motives. That is a good
deterrent.
The trigger can be written so that only selective users can have access if
need be.

Sam P.Roberts (M.Sc)
Senior DBA

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: rabbit_at_emirates.net.ae

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: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us
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: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us
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 Mon Jan 07 2002 - 08:35:06 CST

Original text of this message

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