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

 更新时间:2007年03月06日 00:00:00   作者:  
正在看的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)
<

相关文章

  • Oracle中死事务的检查语句

    Oracle中死事务的检查语句

    本节主要介绍了Oracle中死事务的检查语句,需要的朋友可以参考下
    2014-07-07
  • 一个oracle指令的好网站

    一个oracle指令的好网站

    一个oracle指令的好网站...
    2007-03-03
  • Oracle的约束介绍与约束维护

    Oracle的约束介绍与约束维护

    这篇文章介绍了Oracle的约束与约束维护,文中通过示例代码介绍的非常详细。对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下
    2022-05-05
  • [Oracle] CPU/PSU补丁安装详细教程

    [Oracle] CPU/PSU补丁安装详细教程

    Oracle CPU的全称是Critical Patch Update, Oracle对于其产品每个季度发行一次安全补丁包,通常是为了修复产品中的安全隐患,以下是对CPU/PSU补丁安装的具体操作步骤进行了详细的分析介绍,需要的朋友可以参考
    2013-07-07
  • oracle 视图权限 oracle 创建视图权限不足

    oracle 视图权限 oracle 创建视图权限不足

    在scott用户下创建视图的时候,报错:权限不足,遇到这个问题,我也是束手无策,于是网上搜集整理了一下,晒出来和大家分享,希望可以帮助你们
    2012-11-11
  • Oracle数据库的备份与恢复

    Oracle数据库的备份与恢复

    Oracle数据库的备份与恢复...
    2007-03-03
  • Oracle中sequence(序列)使用方法详解

    Oracle中sequence(序列)使用方法详解

    在oracle中sequence就是序号,每次取的时候它会自动增加,下面这篇文章主要给大家介绍了关于Oracle中sequence(序列)使用方法的相关资料,文中通过实例代码介绍的非常详细,需要的朋友可以参考下
    2023-03-03
  • Oracle批量查询、删除、更新使用BULK COLLECT提高效率

    Oracle批量查询、删除、更新使用BULK COLLECT提高效率

    BULK COLLECT(成批聚合类型)和数组集合type类型is table of 表%rowtype index by binary_integer用法笔记。对oracle批量查询 删除 更新使用bulk collect提高效果的相关知识感兴趣的朋友通过本文一起学习吧
    2017-04-04
  • Linux中Oracle启动侦听报错TNS:permission denied的解决方法

    Linux中Oracle启动侦听报错TNS:permission denied的解决方法

    这篇文章主要介绍了Linux中Oracle启动侦听时报错TNS:permission denied的解决方法,文中给出了详细的解决方法,相信对大家具有一定的参考价值,需要的朋友们下面来一起看看吧。
    2017-02-02
  • Oracle开发之窗口函数

    Oracle开发之窗口函数

    本文主要介绍Oracle窗口函数的用法,讲解全统计、滚动统计(累积/均值)、根据时间范围统计、first_value/last_value、比较相邻记录具体的使用方法,需要的朋友可以参考下。
    2016-05-05

最新评论