다음을 통해 공유


<webHttpBinding>의 <security>

<wsHttpBinding>로 구성된 끝점의 보안 요구 사항을 지정합니다.

<system.serviceModel>
  <bindings>
    <wsHttpBinding>
      <binding>
        <webHttpBinding>의 <security>

<system.ServiceModel>
    <bindings>
        <webHttpBinding>
            <binding name = "string">
              <security mode="None/Transport/TransportCredentialOnly">
                                    <transport clientCredentialType = 
                                     "Basic/Certificate/Digest/None/Ntlm/Windows"
                                     proxyCredentialType="Basic/Digest/None/Ntlm/Windows"
                                     realm="string" />
              </security>
        </webHttpBinding>
    </bindings>
</system.ServiceModel>

특성 및 요소

특성

특성 설명

mode

끝점에서 전송 수준 보안을 사용하거나 보안을 사용하지 않는지 여부를 지정합니다. 기본값은 None입니다. 이 특성은 WebHttpSecurityMode 형식입니다.

자식 요소

요소 설명

<webHttpBinding>의 <transport>

전송 보안 설정을 정의합니다. 이 요소는 HttpTransportSecurityElement 형식에 해당합니다.

부모 요소

요소 설명

<wsHttpBinding>

SOAP 메시지 대신 HTTP 요청에 응답하는 WCF(Windows Communication Foundation) 웹 서비스에 대한 끝점을 구성하는 데 사용되는 바인딩 요소입니다.

참고 항목

참조

WebHttpBindingElement
WSHttpSecurityElement
Security
Security
WebHttpSecurity

개념

<binding>

기타 리소스

Securing Services and Clients
Selecting a Credential Type
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients
Web Programming Model