G
G
Gleb Lukashonok2020-09-16 10:36:49
Node.js
Gleb Lukashonok, 2020-09-16 10:36:49

Electron+Express. Is it possible to do so? And does it make sense?

Hi everyone! I want to make a web server with some interface on Express. It turns out that I can manage it through the browser. But! There will also be http that can be hacked .. Or am I misunderstanding something? And what does Electron have to do with it - can I make it so that I manage through the browser and at the same time can manage through the desktop application on Electron? If so, what will be the security there? Can you give me some advice? And how can I connect them (Electron+Express)? Or is it impossible for express to lie "there" and be controlled "here" via electron? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2020-09-16
@Bombesko

you can do it, it will be the same http as from the browser, and you can hack the same way.
the difference between the electron and the browser in this regard is generally zero.
To make it impossible to hack - put a computer in the basement, a large lock on the basement, do not turn it on the Internet, control it through the keyboard and mouse.
Tip one - set up https and stop being afraid of "hacks". You can't do anything better than this anyway.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question