• 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-11在oracle 数据库查询的select 查询字段中关联其他表的方法
  • 2017-05-11oracle查询锁表与解锁情况提供解决方案
  • 2017-05-11oracle 索引的相关介绍(创建、简介、技巧、怎样查看) .
  • 2017-05-11Oracle中基于hint的3种执行计划控制方法详细介绍
  • 2017-05-11Oracle中获取执行计划的几种方法分析
  • 2017-05-11登录oracle数据库时密码忘记的解决方法
  • 2017-05-11Oracle查询语句中rownum与rowid的不同之处分析
  • 2017-05-11Oracle SQL Developer连接报错(ORA-12505)的解决方案(两种)
  • 2017-05-11Oracle 存储过程总结 二、字符串处理相关函数
  • 2017-05-11oracle中 procedure(存储过程)和function(函数)本质区别

文章分类

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

最近更新的内容

    • java.sql.SQLException: 内部错误: Unable to construct a Datum from the specified input
    • 浅析Oracle中char和varchar2的区别
    • 在Linux下安装Oracle
    • Oracle数据库数据丢失恢复的几种方法总结
    • Oracle 创建普通用户,并赋予权限
    • 自动备份Oracle数据库
    • Oracle针对数据库某一行进行操作的时候,如何将这一行加行锁
    • oracle to_char函数将number转成string
    • Oracle SID存在解決方法
    • Oracle12c通过SQL Developer工具调试procedure报错: ORA-24247解决方法

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

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