注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 利用IPSec实现网络安全之..
 帮助

限制特定IP访问【BLOCKING BY SPECIFICALLY IP ADDRESS】


2007-11-13 12:59:10
 标签:NET8 SQLNET   [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://miracle.blog.51cto.com/255044/50341
 If you want to block some connections from specifically ip address and not use fire wall, you can add some parameters in the sqlnet.ora that can achieve  what you want.
 
for example:
/u02/oracle/product/9.2.0/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.

NAMES.DEFAULT_DOMAIN = localdomain

NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
#This turns on the hostname/IP checking for your listeners
tcp.validnode_checking=yes
#invited nodes of the  ip address
tcp.invited_nodes=(192.168.11.89,192.168.11.3)

#exclude a list of clients
tcp.excluded_nodes=(192.168.11.100)

remember,you need restart listener.

Just a small tip -:)


本文出自 “Be the miracle!” 博客,请务必保留此出处http://miracle.blog.51cto.com/255044/50341





    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: