WCF 数据服务安全选项
有哪些选项可用于保护 WCF 数据服务?这些服务的开放、RESTful 性质非常有益,但我需要锁定这些服务,以便只有我的 Silverlight 和 WPF 应用程序可以对这些服务执行请求。该应用程序将公开分发,但我们的数据和数据模型并非免费供公众使用。
What options are there for securing WCF Data Services? The open, RESTful nature of the services are extremely beneficial but I need to lock these services down so that only my Silverlight and WPF apps can perform requests against these services. The app will be distributed publicly, but our data and data model are not free for public consumption.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
除了已经提到的所有内容之外,WCF 数据服务还有一个名为 查询拦截器允许您以编程方式决定给定调用者是否应该能够查看全部、部分数据或根本不查看数据。
Besides all the things already mentioned, WCF Data Services also have a concept called Query Interceptors which allows you on a programmatic basis to decide whether or not a given caller should be able to see all, some or no data at all.
http://msdn.microsoft.com/en-us/library/ms735093。 aspx
简单的传输级别安全性,可以是 SSL。或者消息安全性,这可能涉及在soap标头中发送凭据(WS-*标准)。
http://msdn.microsoft.com/en-us/library/ms735093.aspx
Simple transport level security, which could be SSL. Or Message Security which could involve sending credentials in the soap header (WS-* standards).
传输安全性 - SSL、凭证 - CardSpace、证书... http://wcfsecurity.codeplex.com/Wikipage
Transfer security - SSL, credentials - CardSpace, certificates... http://wcfsecurity.codeplex.com/Wikipage