V
V
vadimparinov2021-04-09 12:54:30
Python
vadimparinov, 2021-04-09 12:54:30

How to secure connection between two applications?

Hello!
Essence of the question: There is an api server (node ​​js) that receives commands from the front (react) and must then send this command for execution directly to the Linux machine. (In the daemon scheme). So it's already written in python.
Everything works with each other via rest api. So this is how I can secure(encrypt) data between api and daemon.
So that no one can pass the command to the daemon for execution (It performs specific actions on the server, so you need to protect it as much as possible)
6070244752bfd096892077.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
cicatrix, 2021-04-09
@vadimparinov

VPN not? As if it is intended for this.
In general, this is the task of the system administrator, so that endpoints from daemons do not look into the open network.

S
Sergey Gornostaev, 2021-04-09
@sergey-gornostaev

JWT + SSL

K
ky0, 2021-04-09
@ky0

And why, in fact, do you have data after the frontend going over such a network that encryption is required?
Even if this is some kind of geographically distributed structure, it is usually combined into a secure virtual local area network. If everything is so bad that there is nothing to raise the VPN on, then if it is HTTP, the option with TLS suggests itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question