This is a multi-part message in MIME format.
------=_NextPart_000_03B0_01C259A6.2959F640
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello Joe
I implemented today Tom's trigger in one of our test databases and it =
works fine.
I am using it to track which users / applications are connecting so we =
can notify them
in case of scheduled down time or problems.
You need to run dbmsrand.sql to add dbms_random package to the database.
Yechiel Adar
Mehish
- Original Message -----=20
From: JOE TESTA=20
To: Multiple recipients of list ORACLE-L=20
Sent: Tuesday, September 10, 2002 5:58 PM
Subject: methodology to keep only certain programs to connect to
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
------=_NextPart_000_03B0_01C259A6.2959F640
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff=20
style=3D"FONT: 10pt Times New Roman; MARGIN-LEFT: 2px; MARGIN-TOP: 2px">
<DIV><FONT face=3DArial size=3D3>Hello Joe</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D4>I implemented today Tom's trigger in =
one of our=20
test databases and it works fine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D4>I am using it to track which users / =
applications=20
are connecting so we can notify them</FONT></DIV>
<DIV><FONT face=3DArial size=3D4>in case of scheduled down time or=20
problems.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D4>You need to run dbmsrand.sql to add =
dbms_random=20
package to the database.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D4>Yechiel Adar<BR>Mehish</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:JTESTA_at_longaberger.com" =
title=3DJTESTA_at_longaberger.com>JOE=20
TESTA</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:ORACLE-L_at_fatcity.com"=20
title=3DORACLE-L_at_fatcity.com>Multiple recipients of list ORACLE-L</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, September 10, =
2002 5:58=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> methodology to keep =
only certain=20
programs to connect to</DIV>
<DIV><BR></DIV>
<DIV>I've been tasked to ensure only certain app programs access the=20
database.</DIV>
<DIV> </DIV>
<DIV>I'm thinking on-logon trigger, check the program field from=20
v$session. unfortunately v$session is for all sessions, i can't =
seem to=20
find the view that tells me only MY info during login. I only =
want the=20
sid, serial#, username and program for my just now connection to the=20
database.</DIV>
<DIV> </DIV>
<DIV>Does this exist or am I going about this the wrong way?</DIV>
<DIV> </DIV>
<DIV>We're thinking of checking those fields to make sure sql*plus, =
toad, etc=20
can't connect as a particular user(even though the password is known =
out in=20
the community).</DIV>
<DIV> </DIV>
<DIV>any ideas would be greatly appreciated.</DIV>
<DIV> </DIV>
Received on Wed Sep 11 2002 - 08:16:11 CDT