From sfaroult@oriole.com Sat, 21 Jul 2001 12:53:54 -0700
From: Stephane Faroult <sfaroult@oriole.com>
Date: Sat, 21 Jul 2001 12:53:54 -0700
Subject: Re: stopping applications connecting to a database
Message-ID: <F001.00350C79.20010721124020@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain


Sam Roberts wrote:
> 
> is there any way (apart from running a reoccuring scripts ) to stop users
> from accessing the database with software such as msaccess.exe
> 
> --


This is an idea, totally untested, but I think that with Oracle 8i a
trigger on login could check the program in V$SESSION (where
audsid=userenv('SESSIONID') - there is a newer function than userenv()
but I belong to the old school) - likely to appear as ODBC in that case
- and raise an error. But I don't know how Oracle will react.

-- 
Regards,

Stephane Faroult
Oriole Corporation
Voice:  +44  (0) 7050-696-269 
Fax:    +44  (0) 7050-696-449 
Performance Tools & Free Scripts
--------------------------------------------------------------
http://www.oriole.com, designed by Oracle DBAs for Oracle DBAs
--------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult@oriole.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@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).


