Click here to Skip to main content
15,906,106 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted

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[^]
 
Share this answer
 
For security, REST simply uses HTTPS; it just leverages SSL for all its security needs.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900