简体   繁体   中英

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

I have two rails applications, hosted on heroku, that need to communicate.

For now, everything is done in a RESTful way, using ActiveResource when it's relevant.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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