Chapter 1 Securing Your Server and Network(12):保护链接server
未经作者允许。不论什么人不得以“原创”形式公布,也不得已用于商业用途。本人不负责不论什么法律责任。
前一篇:http://blog.csdn.net/dba_huangzj/article/details/38398813
前言:
链接server(Linked Server)能够使两个不同的SQL Server实例甚至和其它类型的RDBMS进行互訪。通过链接server,能够实现分布式查询,相似于一个应用程序,把连接目标server的连接字符串预存起来。
链接server能够引用远端的SQL Server。或者随意支持已经装在SQL Server所在机器上的OLEDB Provider的其它数据源。
当创建链接server时。有一些注意事项须要考虑。会在本文中介绍
实现:
1. 在SQL Server Management Studio中,打开【server对象】节点,右键【链接server】,点击【新建链接server】:
2. 选择名称和数据provider。
假设目标server页尾SQL Server,输入目标server的实例名并选择SQL Server作为server类型:
原文出处:http://blog.csdn.net/dba_huangzj/article/details/38438363
3. 在【安全性】页。映射必须的登录帐号,假设本地和远程登录具有同样帐号名和password,能够勾选【模拟】,这样SQL Server就不须要存储password到配置中:
4.选择怎样处理没有定义在映射列表中的帐号:
| 不建立连接(Not be made) | 指定不正确列表中没有定义的登录建立连接。 |
| 不使用安全上下文建立连接(Be made without using a security context) | 指定对于列表中没有定义的登录。不使用安全上下文建立连接。 |
| 使用登录名的当前安全上下文建立连接(
Be made using the login's current security context) |
指定对于列表中没有定义的登录。使用登录的当前安全上下文建立连接。
假设使用 Windows 身份验证连接到本地server,则使用 Windows 凭据连接到远程server。 假设使用 SQL Server 身份验证连接到本地server,则在连接到远程server时须要使用登录名和password。 在这样的情况下,具有全然同样的名称和password的登录必须存在于远程server中。 |
| 使用此安全上下文建立 (Be made using this security context) | 指定对于列表中没有定义的登录,使用 “远程登录”和 “使用password”框中指定的登录名和password建立连接。
远程登录必须是远程server中的 SQL Server 身份验证登录。 |
原文出处:http://blog.csdn.net/dba_huangzj/article/details/38438363
原理:
链接server把连接字符串存储在SQL Server实例中。能够定义怎样訪问链接server。
从安全性观点考虑,最好在映射列表中限制訪问,并选择【不建议连接】。
原文出处:http://blog.csdn.net/dba_huangzj/article/details/38438363
很多其它:
假设使用client连接SQL Server并通过链接server执行查询。或者通过模拟列表来执行。那么必须进行配置:
- Windows 帐号必须有权限訪问链接server。在活动文件夹中(Active Directory),【Account is sensitive and cannot be delegated 】选项不能选中。
- 每一个server在域环境中都必须已经注冊了SPN,而且SQL Server服务的帐号必须在活动文件夹中为【trusted for delegation】
Chapter 1 Securing Your Server and Network(12):保护链接server的更多相关文章
- Chapter 1 Securing Your Server and Network(12):保护链接服务器
原文出处:http://blog.csdn.net/dba_huangzj/article/details/38438363,专题目录:http://blog.csdn.net/dba_huangzj ...
- Chapter 1 Securing Your Server and Network(7):禁用SQL Server Browse
原文:Chapter 1 Securing Your Server and Network(7):禁用SQL Server Browse 原文出处:http://blog.csdn.net/dba_h ...
- Chapter 1 Securing Your Server and Network(6):为SQL Server访问配置防火墙
原文:Chapter 1 Securing Your Server and Network(6):为SQL Server访问配置防火墙 原文出处:http://blog.csdn.net/dba_hu ...
- Chapter 1 Securing Your Server and Network(1):选择SQL Server运行账号
原文:Chapter 1 Securing Your Server and Network(1):选择SQL Server运行账号 原文出处:http://blog.csdn.net/dba_huan ...
- Chapter 1 Securing Your Server and Network(1):选择SQL Server业务经理
原版的:http://blog.csdn.net/dba_huangzj/article/details/37924127 ,专题文件夹:http://blog.csdn.net/dba_huang ...
- Chapter 1 Securing Your Server and Network(6):为SQL Server訪问配置防火墙
原文出处:http://blog.csdn.net/dba_huangzj/article/details/38082123,专题文件夹:http://blog.csdn.net/dba_huangz ...
- Chapter 1 Securing Your Server and Network(10):使用扩展保护避免授权中继攻击
原文:Chapter 1 Securing Your Server and Network(10):使用扩展保护避免授权中继攻击 原文出处:http://blog.csdn.net/dba_huang ...
- Chapter 1 Securing Your Server and Network(9):使用Kerberos用于身份验证
原文:Chapter 1 Securing Your Server and Network(9):使用Kerberos用于身份验证 原文出处:http://blog.csdn.net/dba_huan ...
- Chapter 1 Securing Your Server and Network(8):停止未使用的服务
原文:Chapter 1 Securing Your Server and Network(8):停止未使用的服务 原文出处:http://blog.csdn.net/dba_huangzj/arti ...
随机推荐
- PHP实现栈(Stack)数据结构
栈(Stack),是一种特殊的后进先出线性表,其只能在一端进行插入(插入一般称为压栈.进栈或入栈)和删除(删除一般称为弹栈.退栈或出栈)操作,允许进行插入和删除操作的一端称为栈顶,另一端则称为栈底.栈 ...
- 用EnableMenuItem不能使菜单变灰的原因
为何不能Disable菜单项 问:我有一个工具button在WM_COMMAND消息是这样做的: CMenu *pMenu = GetMenu(); pMe ...
- hdu5338 (二进制,双指针)
这种双循环的优化问题碰到过很多了.层出不穷. 但无非就是要利用前面循环时,所产生的信息,从而减少计算. 可以注意到log其实是不超过40的, 那么以这方面入手,时间复杂度就可以降为nlogn log= ...
- java 配置及安装Eclipse
jdk下载 点我~ Java SE Development Kit 8u20 You must accept the Oracle Binary Code License Agreement for ...
- Drupal 7 电子邮件的发送设置 SMTP, Mail System, Mime Mail
尽管Drupal自带发送email功能,可是非常多server须要SMTP验证.这个时候就须要安装 SMTP 模块. 激活 SMTP 模块 进入配置 admin/config/system/smtp ...
- leetcode第一刷_Pow(x, n)
高速乘方的算法,写了好多变,出了各种错,真是服了我自己了. 思想是每次对n减半,将当前的temp平方.须要注意的是假设当前的n是个奇数,减半之后会丢失掉一次乘积,因此假设当前的n为奇数,应该先在结果里 ...
- Bulk Insert Data
Bulk Insert Data 命名空间:Oracle.DataAccess.Client 组件:Oracle.DataAccess.dll(2.112.1.0) ODP.NET 版本:ODP.NE ...
- ExcelHelper Excel,Export,Import
using System; using System.Collections.Generic; using System.Data; using System.Data.Odbc; using Sys ...
- java.lang.RuntimeException: Method called after release()
主要引起是因為在 camera.stopPreview(); camera.release(); 前沒有將setPreviewCallback 設置為null, 解決情況: public void ...
- 轻量级分布式RPC框架
随笔- 139 文章- 0 评论- 387 一个轻量级分布式RPC框架--NettyRpc 1.背景 最近在搜索Netty和Zookeeper方面的文章时,看到了这篇文章<轻量级分布式 ...