简体   繁体   English

WCF服务webHttpBinding匿名身份验证

[英]WCF Service webHttpBinding Anonymous Authentication

I have a situation where by I have un ticked the anonymous authentication in IIS, so the designers and clients are able to see the work but no one else. 我遇到的一种情况是,我在IIS中取消了匿名身份验证,因此设计人员和客户端只能看到工作,而其他人则看不到。 I need to get the WCF Service to work under these conditions but I am not sure how. 我需要让WCF服务在这些条件下工作,但不确定如何。

Does anyone have any idea what I would need to do? 有谁知道我需要做什么?

You can attach the credential to the URL as querystring. 您可以将凭据作为查询字符串附加到URL。 your WCF services( in message inspector ) can check it for authentication purposes. 您的WCF服务(在Message inspector中)可以对其进行检查以进行身份​​验证。 You might also want to enable https. 您可能还希望启用https。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM