我已经创建了一个在Android应用程序和Web应用程序中使用的wcf服务。请建议我使用哪种安全性 [英] I have create a wcf service those are used in android application and web application. Please suggest me that which security use in service

查看:120
本文介绍了我已经创建了一个在Android应用程序和Web应用程序中使用的wcf服务。请建议我使用哪种安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个在Android应用程序和Web应用程序中使用的wcf服务。请建议我使用哪种安全措施...



请回复...

I have create a wcf service those are used in android application and web application. Please suggest me that which security use in service...

Please Reply...

推荐答案

我要问你的第一件事是,你打算使用RESTful服务还是基于SOAP的服务?



如果你正在接近基于SOAP的服务那么你会变得更好好处,但您需要使用xml soap消息与服务进行通信。



如果是Restful服务,您在安全性方面的优势会减少,但您可以选择像xml消息,json消息等
The first thing that I will ask you is, are you going to use RESTful service or SOAP based service?

If you are approaching SOAP based service then you will get better benefits but you need to communicate with the service using xml soap message.

In case of Restful service you will have less benefits when it comes to security but you will have options like xml message, json message, etc.


我假设你已经创建了RESTful WCF服务。

为了提供安全性:

使用OAUTH安全WCF RESTful服务 [ ^ ]

http://msdn.microsoft.com/en-us/library/hh446531.aspx [ ^ ]



保护WCF [ ^ ]
I'm assuming that you have created RESTful WCF service.
In order to provide security :
Secure WCF RESTful service using OAUTH[^]
http://msdn.microsoft.com/en-us/library/hh446531.aspx[^]
and
Securing WCF[^]


这篇关于我已经创建了一个在Android应用程序和Web应用程序中使用的wcf服务。请建议我使用哪种安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆