简体   繁体   English

为移动应用程序验证Web服务

[英]Authenticate a web service for mobile applications

我已经创建了一个示例WCF应用程序,目前移动应用程序当前使用的是什么问题是任何人都可以使用soap请求访问谁知道其托管的url有什么方法可以通过说只有mobiile来限制它创建它的应用程序应该访问Web服务

You could do this with a useragent restriction that you only allow mobileuseragents. 您可以使用仅允许mobileuseragents的useragent限制来执行此操作。

Use a htcacces to block all other useragents u dont want. 使用htcacces来阻止你不想要的所有其他使用者。

Block by useragent or empty referer 由useragent或空引用块阻止

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

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