上一篇:硬盘分区方案大放送 >>
限制 SQL Server指定主机连接
怎样才能限制我的sql server只能让指定的机器连接
a. sql server has no built-in tools/facilities to do this. it also does not have the facility to run a stored-procedure on connection that could be written/used to do this. therefore you have the following choices :-
sql server没有这样的功能,也没有提供在连接时执行某一特定过程的功能。这里介绍几种实现的方法:
1. put the sql server behind a firewall and use that to restrict access. this is the most secure and functional way to do what you want.
使用防火墙,它提供了安全和你想用的工具。
2. write your own ods gateway and point the clients at that instead of the sql server - the ods gateway will then do the checking. however, there is nothing stopping clients figuring out the correct sql client-config entries to point straight at the sql server. there are examples of ods code in the sql programmers toolkit - available for free download from the ms website.
写自己的ods网关代替sql server的客户端 - 在ods网关中检查。不过,这并不能停止正常的客户端连接sql server。在sql programmers toolkit中有一个这样的例, 可以从微软站点免费下载。
3. write a constantly running/scheduled stored-procedure that checks the relevant column in sysprocesses (net_address), and then issues a kill command for any processes that should not be running. note that this only works for mac addresses. this way allows people to connect and possibly make changes before they are spotted and killed.
写一个存储过程检查sysprocesses中的相应列(net_address)
()
下一篇:SQL Server 提升权限相关命令及防范 >>
相关文章:
- · Linux系统中完美装载Windows分区
- · 常见硬件不兼容的典型故障解决方案
- · SQL查询语句精华使用简要
- · 与"入侵者"交手:认识XP下的NetBEUI
- · DIY超频经典教程(基础)
- · CACA基础教程
- · 超级P2P搜索引擎让所有收费网站破产
- · 轻轻松松破解还原卡
- · VPN技术详解
- · 微软ping程序源代码完整版
- · 在xp和2003下察看端口对应的进程
- · 关于BBSxp/LeadBBS的后台上传Webshell的鸡肋防范
- · 某运营商受DDOS攻击的应急响应内部文档
- · 利用FTP,实现Linux与windows文件互传
- · ADSL断流/断线问题集中分析
- · Win XP系统中网桥的配置方法
- · 网络基础:带你彻底认识路由器
- · 如何用FTP自动传送文件
- · 用Java获得IP地址
- · 一组SQLServer身份验证管理子程序
- · JavaScript与Java的区别
- · 按下某组键(HotKey)便执行某程式
- · 利用SQLEXEC突破网络妙管免费上网
- · webshell下的一次得到终端账号和密码的尝试
- · 通过试验探索 Access 2000/XP 数据库的最佳 NTFS 权限设置
- · 简单更改W2K的Telnet端口
- · 电子邮件头解析
- · VMware还是微软?虚拟机的选择权就在你手中
- · asp中获取安全的参数
- · Google还可以这样用
- · Smail堆溢出漏洞允许远程攻击者获得Root权限
- · Linux下软件的安装与卸载
- · 学习设置端口映射
- · 收藏经典:windows消息大全
- · 一行代码崩溃IE
- · 脚本安全和利用
- · 亲手打造一个QQ恶作剧程序
- · CCIE:年薪翻了两倍
