WebServiceProtocols Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the transmission protocols that are used to decrypt data sent from a client browser in the HTTP request.
This enumeration supports a bitwise combination of its member values.
public enum class WebServiceProtocols
[System.Flags]
public enum WebServiceProtocols
[<System.Flags>]
type WebServiceProtocols =
Public Enum WebServiceProtocols
- Inheritance
- Attributes
Fields
AnyHttpSoap | 33 | Any version of the HTTP SOAP protocol. |
Documentation | 8 | The Web Services Documentation protocol. |
HttpGet | 2 | The HTTP GET protocol. |
HttpPost | 4 | The HTTP POST protocol. |
HttpPostLocalhost | 16 | The HTTP POST LOCALHOST protocol. CAUTION: This value only checks the request's host header to mitigate only browser-redirect attacks. Authentication and authorization are still required to restrict access to a Web service. |
HttpSoap | 1 | The HTTP SOAP protocol. |
HttpSoap12 | 32 | The HTTP SOAP version 1.2 protocol. |
Unknown | 0 | Unknown protocol. |
Remarks
Caution
Using the HttpPostLocalhost value of this enumeration does not prevent access to the test or web service from remote computers. This value checks only the host header of the request; no other validation, authentication, or authorization checks are performed. This check mitigates only browser-based redirection attacks. Authentication and authorization are still required to restrict access to a Web service.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈