简体   繁体   English

如何保护从Monotouch调用的Azure中托管的WCF服务?

[英]How to secure WCF service hosted in Azure called from Monotouch?

I have a monotouch application that currently calls a hosted WCF service in IIS using ssl and basic authentication. 我有一个monotouch应用程序,该应用程序当前使用ssl和基本身份验证在IIS中调用托管的WCF服务。 I need to move this wcf service to Azure and am confused on the best security practice. 我需要将此wcf服务移至Azure,并且对最佳安全做法感到困惑。 I've read to use ACS, but I can't find any examples of using that setup with monotouch and am not sure it will work. 我已阅读过使用ACS的信息,但找不到任何将其与monotouch配合使用的示例,并且不确定是否可以使用。 Does anyone have any examples or suggestions with calling a WCF service from monotouch securely in azure? 有人能从天蓝色安全地从monotouch调用WCF服务时有任何示例或建议吗?

Thanks, Ben 谢谢,本

I am not familiar with MonoTouch. 我对MonoTouch不熟悉。 But as far as the service side is concerned, you can continue to use SSL and basic authentication. 但是就服务端而言,您可以继续使用SSL和基本身份验证。 Note by default IIS basic authentication require Windows credential. 注意默认情况下,IIS基本身份验证需要Windows凭据。 Since it works locally, I think you've already implemented a custom basic authentication module. 由于它在本地运行,因此我认为您已经实现了自定义的基本身份验证模块。 Another area to note is it needs additional steps to support SSL in Windows Azure. 另一个要注意的地方是它需要其他步骤来在Windows Azure中支持SSL。 You can refer to http://msdn.microsoft.com/en-us/gg271302 for a tutorial. 您可以参考http://msdn.microsoft.com/zh-cn/gg271302以获得教程。 ACS is usually used if you want to support claim based authorization. 如果要支持基于声明的授权,通常使用ACS。

Best Regards, 最好的祝福,

Ming Xu. 徐明

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

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