Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Blocking "illegal" connections
Is the development group(the illegal connections) on a different sub-net of the network?
We just blocked the sql*net port (1521) at a router from the development subnet to the production environment... It wasn't fool proof-but made it more difficult to get to the production environment....
If you have static IP(doubtful), one could use sqnnet.ora.. But that was very practical in our shop..
Greg
-----Original Message-----
Sent: Thursday, December 13, 2001 7:55 AM
To: Multiple recipients of list ORACLE-L
This is my whoison.sql - not mine but I don't remember where I got it.
ttitle off
set pages 40 lines 132
column value heading ''
column sessions_current format 999,999,999 heading '# Currently Logged On'
column sessions_highwater format 999,999,999 heading 'Most # Logged On'
column pusername format a8 heading 'Process|User' column terminal format a14 heading 'Terminal' column pprogram format a26 heading 'Process program' column susername format a8 heading 'Session|User'column server format a9 heading 'Server' column osuser format a8 heading 'Op Sys|User' column sprogram format a27 heading 'Session program' select value from v$parameter where name='db_name'; select
p.username pusername, s.terminal, p.program pprogram, s.username susername,
If you look at program from v$session you should be able to find "Toad" etc.
Walter K <alden14004 To: Multiple recipients of list ORACLE-L @yahoo.com> <ORACLE-L_at_fatcity.com> Sent by: root cc: Subject: Blocking "illegal" connections 12/12/2001 05:20 PM Please respond to ORACLE-L
Hi,
We're trying to prevent users from connecting to our production database via "illegal" connections (i.e. tools like TOAD, etc.).
Does anyone have any suggestions on how to block connections from query tools (i.e. Toad, SQL Nav, etc.) in such a way that an error message is reported back to the tool user that the connection is prohibited? We've tried designing a logon trigger with a PRAGMA definition but the error message is not getting relayed back to the client.
As always, your feedback is appreciated!
-w
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: tday6_at_csc.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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 Dec 13 2001 - 08:44:52 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |