<ws2007HttpBinding> 的 <transport>

定義 HTTP 傳輸的驗證設定。

<<system.serviceModel>>
  <bindings>
    <ws2007HttpBinding>
      <binding>
        <ws2007HttpBinding> 的 <security>
          <ws2007HttpBinding> 的 <transport>

transport clientCredentialType = 
       "Basic/Certificate/Digest/None/Ntlm/Windows"
       proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
       realm="string" 

HttpTransportSecurity

屬性和項目

屬性

屬性 描述

clientCredentialType

指定用來對服務驗證用戶端的認證。此屬性的型別為 HttpClientCredentialType

proxyCredentialType

指定用來對網域 Proxy 驗證用戶端的認證。此屬性的型別為 HttpProxyCredentialType

realm

摘要式或基本驗證的驗證領域。預設為空字串。

驗證領域至少會指定負責執行驗證之主機的名稱,也可以指定具有存取權之使用者的集合。使用者可以查詢驗證領域,判斷其中可以使用的一組使用者名稱和密碼。

子項目

父項目

項目 描述

<ws2007HttpBinding> 的 <security>

代表 <ws2007HttpBinding> 項目的安全性功能。

請參閱

參考

HttpTransportSecurity
Transport
Transport
WSHttpTransportSecurityElement

概念

<binding>

其他資源

Securing Services and Clients
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients