You can't.
This is one of the reasons I haven't tried to use this.
Jared
Kevin Lange <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
09/10/2002 10:53 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:
Subject: RE: methodology to keep only certain programs to connect to
With a setup like this, how do you stop a user from simply renaming the
program they are using to match what you expect to see and, therefore,
getting past your security ??
-----Original Message-----
Sent: Tuesday, September 10, 2002 11:59 AM
To: Multiple recipients of list ORACLE-L
use v_$mystat - it has the sid - then do your join with v$session
-----Original Message-----
Sent: Tuesday, September 10, 2002 10:58 AM
To: Multiple recipients of list ORACLE-L
I've been tasked to ensure only certain app programs access the database.
I'm thinking on-logon trigger, check the program field from v$session.
unfortunately v$session is for all sessions, i can't seem to find the view
that tells me only MY info during login. I only want the sid, serial#,
username and program for my just now connection to the database.
Does this exist or am I going about this the wrong way?
We're thinking of checking those fields to make sure sql*plus, toad, etc
can't connect as a particular user(even though the password is known out
in the community).
any ideas would be greatly appreciated.
joe
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).