Re: Restrict login for a particular user to be only from particular m achines

  • From: "Ghassan Salem" <salem.ghassan@xxxxxxxxx>
  • To: paul.baumgartel@xxxxxxxxxxxxxxxxx
  • Date: Wed, 13 Sep 2006 18:28:30 +0200

use a logon trigger to test for the machine's name/ip

On 9/13/06, Baumgartel, Paul <paul.baumgartel@xxxxxxxxxxxxxxxxx> wrote:


A client wants to be able to limit login for particular database user to
be from a specified set of client machines.  My understanding of login
restriction at the listener level is that it is possible only to limit all
database logins based on machine.  I've been experimenting with login
triggers that inspect sys_context('userenv','host'), but haven't figured out
how to prevent the session from proceeding if the client machine name is not
in the approved list.  If anyone has any ideas or suggestions I'd be most


*Paul Baumgartel*
Information Technology
DBA & Admin - NY, KIGA 1
11 Madison Avenue
New York, NY 10010
Phone 212.538.1143

Please access the attached hyperlink for an important electronic communications 

Other related posts: