---
schema_version: "1"
id: 801034f876258421d26e57096f6587b3acfc835d34bc9dd640698d5837b861fa
title: 数据安全
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server-linux/security_data.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-cn/security_data.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 4e9c7fd10388144c9926b0b1f6d7faea91b3c0325ddb4399a68ddc6fbf3c5e84
description: Understand data security options for controlling who sees which data.
---
[跳转到主要内容](#main-content)

# 数据安全

Tableau 提供了几种方法来控制哪些用户可以查看哪些数据。对于连接到实时数据库的数据源，您还可以控制用户单击已发布的视图时是否显示提供数据库凭据的提示。一起使用以下三个选项，可取得不同的结果：

- **数据库登录帐户：** 创建连接到实时数据库的数据源时，您可以选择是通过 Windows NT 还是通过数据库的内置安全机制对数据库进行身份验证。
- **身份验证模式：**发布具有实时数据库连接的数据源或工作簿时，可以选择一种**“身份验证模式”**。可用的模式取决于上面的选择。
- **用户筛选器：**您可以在工作簿或数据源中设置筛选器，以基于用户的 Tableau Server 登录帐户控制其可在已发布视图中查看的数据。

下表概括了上述选项的一些依赖项：

<table class="TableStyle-Basic-Border" style="border-top-style: solid;border-top-width: thin;border-top-color: gray;border-bottom-style: solid;border-bottom-width: thin;border-bottom-color: gray;border-left-style: solid;border-left-width: thin;border-left-color: gray;border-right-style: solid;border-right-width: thin;border-right-color: gray;border-collapse: collapse;mc-table-style: url('Resources/TableStyles/Basic-Border.css');" cellspacing="0"><colgroup><col title="1" style="width: 18;" class="TableStyle-Basic-Border-Column-Column1"><col title="2" style="width: 21;" class="TableStyle-Basic-Border-Column-Column1"><col title="3" style="width: 21;" class="TableStyle-Basic-Border-Column-Column1"><col title="4" style="width: 21;" class="TableStyle-Basic-Border-Column-Column1"><col title="5" style="width: 21;" class="TableStyle-Basic-Border-Column-Column1"></colgroup><thead><tr class="TableStyle-Basic-Border-Head-Header1"><th style="text-align: center; border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" colspan="2" class="TableStyle-Basic-Border-HeadE-Column1-Header1"><i>数据库连接选项</i></th><th style="text-align: center; border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" colspan="3" class="TableStyle-Basic-Border-HeadD-Column1-Header1"><i>数据安全问题</i></th></tr><tr class="TableStyle-Basic-Border-Head-Header1"><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-HeadE-Column1-Header1">数据库登录帐户使用...</th><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-HeadE-Column1-Header1">身份验证模式</th><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-HeadE-Column1-Header1">是否每个 Tableau Server 用户都可实现数据库安全性？</th><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-HeadE-Column1-Header1">用户筛选器是否是限制各用户可查看的数据的唯一方法？</th><th style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-HeadD-Column1-Header1">Web 缓存是否在用户间共享？</th></tr></thead><tbody><tr class="TableStyle-Basic-Border-Body-Body1"><td rowspan="3" style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">Active Directory 凭据（Windows 身份验证）</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1"><p>Kerberos 服务帐户</p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">否</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">是</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyD-Column1-Body1">是</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1"><p>通过服务器 Kerberos 服务帐户进行模拟</p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">是</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">否*</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyD-Column1-Body1">否</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">Viewer（查看者）输入其凭据</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">是</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">否*</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyD-Column1-Body1">否</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td rowspan="3" style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1"><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>用户名和密码</p></td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1"><i>提示用户</i>：当 Viewer（查看者）单击视图时，提示其提供数据库凭据。可以保存凭据。</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">是</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">否</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyD-Column1-Body1">否</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1"><i>嵌入式凭据</i>：工作簿或数据源发布者可以嵌入其数据库凭据。</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">否</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyE-Column1-Body1">是</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyD-Column1-Body1">是</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyB-Column1-Body1"><i>通过嵌入式密码进行模拟</i>：嵌入带 IMPERSONATE 权限的数据库凭据。</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyB-Column1-Body1">是</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyB-Column1-Body1">否*</td><td style="border-top-style: solid; border-top-width: thin; border-top-color: gray; border-bottom-style: solid; border-bottom-width: thin; border-bottom-color: gray; border-left-style: solid; border-left-width: thin; border-left-color: gray; border-right-style: solid; border-right-width: thin; border-right-color: gray;" class="TableStyle-Basic-Border-BodyA-Column1-Body1">否</td></tr></tbody></table>

\* 由于可能会产生意外结果，Tableau 建议您不要将此身份验证模式用于用户筛选器。

用户筛选器、嵌入式凭据选项和模拟模式具有类似的效果 — 当用户单击视图时，不会显示提供数据库凭据的提示，用户只会看到与自己相关的数据。但是，用户筛选器是由作者在工作簿应用的，而模拟身份验证模式则依赖于管理员在数据库本身中定义的安全策略。

## 此部分中的其他文章