---
schema_version: "1"
id: b766a651ed3f288442633469e2d7c71fcb00990f150dc51e27d978dbc5e09c0d
title: 設定資料來源連線設定
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/runas_datasource.md
canonical_url: https://help.tableau.com/current/server/zh-tw/runas_datasource.htm
source_site: help.tableau.com
content_type: documentation
content_hash: b981ac6880b6e532837f565b9f05239777c1e7869450856c644d3b7928241f20
description: Configure data source connection settings for Windows-authenticated data.
---
[跳至主要內容](#main-content)

# 設定資料來源連線設定

若要在使用者正在存取的工作簿連線到經過 Windows 驗證的即時資料來源時自動對這些使用者進行驗證，請在選中「使用 Windows 驗證」選項的情況下設定 Tableau 資料連線：

<table class="Simple" style="border-top: none; border-bottom: none; border-left: none; border-right: none;"><colgroup><col title="1" style="width: 47;"><col title="2" style="width: 5;"><col title="3" style="width: 48;"></colgroup><thead><tr><th style="border-bottom: none; border-right: none; border-top: none; border-left: none;">Windows 驗證</th><th style="border-bottom: none; border-left: none; border-right: none; border-top: none;">&nbsp;</th><th style="border-bottom: none; border-left: none; border-top: none; border-right: none;">使用者名稱和密碼</th></tr></thead><tbody><tr><td style="border-top: none; border-bottom: none; border-right: none; border-left: none;">使用伺服器的執行身分使用者服務帳戶進行驗證</td><td style="border-top: none; border-bottom: none; border-left: none; border-right: none;">&nbsp;</td><td style="border-top: none; border-bottom: none; border-left: none; border-right: none;">每個 Tableau Server 使用者都會看到要求提供資料庫認證的提示</td></tr><tr><td style="border-top: none; border-right: none; border-bottom: none; border-left: none;"><img src="https://help.tableau.com/current/server/zh-tw/Img/auth1.png" style="text-align: left;" alt="含空白欄位的對話方塊，用於登入 Microsoft SQL Server 以進行身分驗證。"></td><td style="border-top: none; border-left: none; border-right: none; border-bottom: none;">&nbsp;</td><td style="border-top: none; border-left: none; border-bottom: none; border-right: none;"><img src="https://help.tableau.com/current/server/zh-tw/Img/auth2.png" style="text-align: left;" alt="輸入了使用者名稱和密碼的對話方塊，用於登入 Microsoft SQL Server 進行身分驗證。"></td></tr></tbody></table>

瞭解執行身分服務帳戶如何代表組織中的使用者訪問資料非常重要。在某些情況下，使用者可能會無意中存取其使用者帳戶未明確獲得許可的資料。在允許使用者嚄執行身分服務帳戶存取資料之前，請先檢視[使用「執行身分」服務帳戶進行資料存取](https://help.tableau.com/current/server/zh-tw/runas_access.htm)。