【发布时间】:2013-12-03 00:26:19
【问题描述】:
我在我的 wcf 服务中使用 Message Security。
<wsHttpBinding>
<binding name="GenericWsBinding" closeTimeout="00:45:00" openTimeout="00:45:00"
receiveTimeout="00:45:00" sendTimeout="00:45:00" bypassProxyOnLocal="true"
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
messageEncoding="Mtom">
<readerQuotas maxDepth="64" maxStringContentLength="2147483647"
maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None" />
</security>
</binding>
</wsHttpBinding>
我的疑问是,我的服务是否仅通过以下三行来保护:
<security mode="Message">
<transport clientCredentialType="Windows" proxyCredentialType="None" />
</security>
或者我错过了什么? Obs:我在我的类型中使用 datacontract 和 datamember,因为 messagecontract 需要排他性
提前致谢。
【问题讨论】:
标签: c# wcf web-services visual-studio security