简体   繁体   English

iOS 5-Rails 3服务器-共享密钥

[英]iOS 5 - Rails 3 server - Shared key

I have an iOS 5 App that consumes webservices from a Rails 3 server. 我有一个使用Rails 3服务器上的Web服务的iOS 5应用程序。 One of the requirements of the application is that all the communication App -> Server -> must be encrypted by some sort of shared key. 该应用程序的要求之一是,必须使用某种共享密钥对所有通信应用程序->服务器->进行加密。

That shared key should be used to sign all the messages sent from and to the server, so only the other side can decrypt it. 该共享密钥应用于对从服务器发送到服务器的所有消息进行签名,以便只有另一方可以对其进行解密。

I am so lost on this topic and need some help. 我对这个话题很迷茫,需要一些帮助。 Any guidelines? 有准则吗? Any gems? 有宝石吗? iOS framework? iOS框架? Example? 例?

THANKS! 谢谢!

I came across a great article on this topic: http://www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/ 我遇到了一篇有关该主题的精彩文章: http : //www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/

Amazon uses this kind of approach. 亚马逊使用这种方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM