简体   繁体   English

如何保护两个rails(在heroku上)应用程序之间的通信?

[英]How to secure communication between two rails (on heroku) applications?

I have two rails applications, hosted on heroku, that need to communicate.我有两个 Rails 应用程序,托管在 heroku 上,需要通信。

For now, everything is done in a RESTful way, using ActiveResource when it's relevant.目前,一切都以 RESTful 方式完成,在相关时使用 ActiveResource。

Now, the problem is to secure these communications, to prevent that someone sniff the network and then make some call and has access to informations or make some actions.现在,问题是保护这些通信,以防止有人嗅探网络,然后拨打一些电话并访问信息或采取一些行动。

How do you do that?你是怎样做的?

Tx发送

A simple approach would be REST over HTTPS.一个简单的方法是 REST 而不是 HTTPS。

Realize this is an old question, but have you considered using some sort of messaging or queue?意识到这是一个老问题,但您是否考虑过使用某种消息传递或队列? Redis is one thing that comes to mind. Redis 是我想到的一件事。

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

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