Welcome to DediSys
Search  
Main Menu  

Online  
There are 2 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

  

How to Enable or Disable Restricted Access SQLnet Client to Oracle DB Server

Posted by: admin on Sep 02, 2009 - 07:33 PM
Linux 
For ENABLE restricted access :

Edit the sqlnet.ora file in $ORACLE_HOME/network/admin/ :
change "tcp.validnode_checking = yes" and "tcp.invited_nodes=(myhost,172.16.3.251)"
only "myhost" and host with ip "172.16.3.251" can connect to database.

this the content of sqlnet.ora file :
...
NAMES.DIRECTORY_PATH=(TNSNAMES, ONAMES, HOSTNAME)
SQLNET.EXPIRE_TIME= 10
tcp.validnode_checking = yes
tcp.invited_nodes=(myhost,172.16.3.251)
...

For DISABLE restricted access :

change "tcp.validnode_checking = no"
so, every client can connect to database.

this the content of sqlnet.ora file :
...
NAMES.DIRECTORY_PATH=(TNSNAMES, ONAMES, HOSTNAME)
SQLNET.EXPIRE_TIME= 10
tcp.validnode_checking = no
tcp.invited_nodes=(myhost,172.16.3.251)
...

You must restart the oracle listener to activated that new setting above, with the following command :
lsnrctl stop
lsnrctl start

---
Dedi


  
Login  






 Log in Problems?
 New User? Sign Up!

Copyright (C) 2001 DediSys.or.id
powered by postnuke
Best Webhosting by MWN