• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase
您的位置:首页 > 数据库 >oracle > 怎么才能限制SQL Server只能让指定的机器连接

怎么才能限制SQL Server只能让指定的机器连接

作者: 字体:[增加 减小] 来源:互联网 时间:2017-05-11

通过本文主要向大家介绍了sql server,sql server 2000,sql server 2005,sql server 2008,sql server 2012等相关知识,希望本文的分享对您有所帮助
正在看的ORACLE教程是:怎么才能限制SQL Server只能让指定的机器连接。Q. How can I restrict access to my SQL Server so that it only allows certain machines to connect?
(v1.0 19.10.1998)


怎样才能限制我的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)
<

</div>
分享到:QQ空间新浪微博腾讯微博微信百度贴吧QQ好友复制网址打印

您可能想查找下面的文章:

  • 对比Oracle临时表和SQL Server临时表的不同点
  • SQL优化之针对count、表的连接顺序、条件顺序、in及exist的优化
  • SQL中Charindex和Oracle中对应的函数Instr对比
  • SQL Server、Oracle和MySQL判断NULL的方法
  • Oracle 实现类似SQL Server中自增字段的一个办法
  • MS Server和Oracle中对NULL处理的一些细节差异
  • PL/SQL数据类型及操作符
  • Oracle与SQL Server在企业应用的比较
  • 怎么才能限制SQL Server只能让指定的机器连接
  • Microsoft SQL Server 安全问题

相关文章

  • 2017-05-11Oracle 子程序参数模式,IN,OUT,NOCOPY
  • 2017-05-11如何Shrink Undo表空间,释放过度占用的空间
  • 2017-05-11oracle查看会话锁定的所有对象代码分享
  • 2017-05-11Oracle数据库处理多媒体信息
  • 2017-05-11Oracle系统表外键的更名
  • 2017-05-11Oracle中死事务的检查语句
  • 2017-05-11Oracle SQL语句实现数字四舍五入取整
  • 2017-05-11Oracle开发之分析函数(Rank, Dense_rank, row_number)
  • 2017-05-11使用PL/SQL Developer连接Oracle数据库的方法图解
  • 2017-05-11Oracle 8i在P4上的安装

文章分类

  • MsSql
  • Mysql
  • oracle
  • MariaDB
  • DB2
  • SQLite
  • PostgreSQL
  • MongoDB
  • Redis
  • Access
  • 数据库其它
  • sybase
  • HBase

最近更新的内容

    • Oracle关于时间/日期的操作
    • Oracle学习笔记(一)
    • Oracle SQL Developer连接报错(ORA-12505)的解决方案(两种)
    • Oracle中CONCAT,SUBSTR,REPLACE的实例介绍
    • Oracle日常维护中管理用户以及重做日志文件的方法
    • Oracle 存储过程发送邮件实例学习
    • Oracle不同数据库间对比分析脚本
    • oracle数据库创建备份与恢复脚本整理
    • Linux下Oracle删除用户和表空间的方法
    • oracle用什么SQL语句判断表存不存在

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有