設定 Web 入口網站來傳遞自訂驗證 Cookie

如果您要使用自訂驗證延伸模組,您應該設定 Web 入口網站來傳送自訂驗證 Cookie。 否則,Web 入口網站只能透過報表伺服器特定的 HTTP 要求來傳送 Cookie。 如果您要傳送其他 Cookie,就必須修改 RSReportServer.Config 檔。

修改 RSReportServer.Config 檔

您可以將 <PassThroughCookies> 元素新增至 RSReportServer.config 檔案中的 Web 入口網站組態設定,藉以讓 Web 入口網站將其他 Cookie 傳輸至報表伺服器。 當單一登入驗證方案不僅需要報表伺服器驗證 Cookie,同時也需要協力廠商驗證系統提供的 Cookie 時,傳送其他 Cookie 這項功能就顯得非常有用。

若要藉由使用 Web 入口網站的方式讓其他 Cookie 能透過 HTTP 要求進行傳輸,請在 RSReportServer.config 檔案中設定下列元素:

<UI>  
   <CustomAuthenticationUI>  
      ...  
      <PassThroughCookies>  
         <PassThroughCookie>cookiename1</PassThroughCookie>  
         <PassThroughCookie>cookiename2</PassThroughCookie>  
      </PassThroughCookies>  
   </CustomAuthenticationUI>  
      ...  
</UI>  

使用報表伺服器驗證
RsReportServer.config 組態檔
安全性延伸模組概觀
設定和管理報表伺服器 (SSRS 原生模式)
更多問題嗎? 試試 Reporting Services 論壇