安全的WCF RESTFULL服务 [英] Secure WCF RESTFULL SERVICE

查看:74
本文介绍了安全的WCF RESTFULL服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在使用WCF服务,目前正在使用基本的http绑定,是否可以使用WsHttpBinding以获得更高的安全性?或者任何其他方式提供安全性吗?



我使用Jquery'$ .ajax'从移动应用程序调用该服务。



服务方法正在使用带有JSON请求的WebInvoke合同&响应类型,所以将所需参数传递给JSON对象形式的服务方法。



这里如何为我作为服务方法传递的数据提供更高的安全性参数?

我的要求是将图像字节从移动设备传递到服务器,如何加密图像以获得更高的安全性?



这将是最好的用于加密图像的算法,该文件将尽可能少地通过网络传输文件大小。



如何为WCF服务提供更多安全性?



提前感谢您的建议:)



--Avinash

Hi All,

I am having a WCF service which is presently using basic http binding, Is it possible to use WsHttpBinding for more security?or any other way of providing security?

I am calling the service from Mobile app using a Jquery '$.ajax'.

The service methods are using WebInvoke contract with JSON request & response type,so passing the required parameters to service method in form of JSON object.

Here how to give the more security for the data which I am passing as service method parameters?
My requirement is to pass image bytes from Mobile device to server, How to encrypt image for more security?

Which will be the best algorithm to encrypt the image which will give as much possible less file size to transfer through the network.

How to provide more security for WCF Service?

Thanks in advance for your suggestions :)

--Avinash

推荐答案

.ajax'。



服务方法正在使用带有JSON请求的WebInvoke合同&响应类型,所以将所需参数传递给JSON对象形式的服务方法。



这里如何为我作为服务方法传递的数据提供更高的安全性参数?

我的要求是将图像字节从移动设备传递到服务器,如何加密图像以获得更高的安全性?



这将是最好的用于加密图像的算法,该文件将尽可能少地通过网络传输文件大小。



如何为WCF服务提供更多安全性?



提前感谢您的建议:)



--Avinash
.ajax'.

The service methods are using WebInvoke contract with JSON request & response type,so passing the required parameters to service method in form of JSON object.

Here how to give the more security for the data which I am passing as service method parameters?
My requirement is to pass image bytes from Mobile device to server, How to encrypt image for more security?

Which will be the best algorithm to encrypt the image which will give as much possible less file size to transfer through the network.

How to provide more security for WCF Service?

Thanks in advance for your suggestions :)

--Avinash

有许多方法可以保护WCF服务。



此PDF文件应引导您找到正确的方向:(Microsoft)模式&实践改进Web服务 - WCF安全指南 - v1 [ ^ ]
There are many ways for securing WCF Services.

This PDF should lead you to the right direction: (Microsoft) patterns & practices Improving Web Services - WCF Security Guide - v1[^]


为了安全起见,REST只使用HTTPS;它只是利用SSL来满足其所有安全需求。
For security, REST simply uses HTTPS; it just leverages SSL for all its security needs.


这篇关于安全的WCF RESTFULL服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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