开发者

Secure requests to a Webservice via Android

I've and android application which sends post requests to a web service. I want to secure the communication between the two and was wondering which is the best approach:

1) Make https requests

2) Encrypt the request params via an encryption algori开发者_如何转开发thm and decrypt on the web service (I found this one SimpleCryto


Use HTTPS.

The problem with novel crypto code is that it doesn't fail obviously. Your implementation can contain bugs and design flaws that make it completely insecure, but your application still works so you don't find out - until it's too late. On the other hand, if you use HTTPS, you will be using standard protocols and implementations that have been reviewed and tested.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜