Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> How to trap the user's login program and disallow if Windows based?
Oracle RDBMS V8.0.6 on Solaris 2.7
I can remember that there is a way to trap the program name a user is logging into the database with, and disallow it if it is something like TOAD or ACCESS.
Here is the problem:
We have an application which connects into the database with the password hard-coded and which everyone knows. This application userid is also the schema owner. The developers also use TOAD. We can change the application password but it is hard coded in plain text and everyone knows how to see it. So the Developers have a habit of signing on to TOAD as the application owner and therefore have total access to the tables.
I know that I can create a trigger at logon to run some SQL, but
So, I want it to go -
login - check program name - if user = schema.owner and program != program.name then kill session (and maybe issue a nasty message).
Does anyone have an example of this I can use?
Thanks. Received on Tue Jun 04 2002 - 18:03:48 CDT
![]() |
![]() |