D
D
Dmitry Burnashev2020-12-24 06:37:49
Burglary protection
Dmitry Burnashev, 2020-12-24 06:37:49

How to protect a local web application from being hacked (product key)?

Hello! Suppose I have written a web application (NodeJS), but it works locally, i.e. installed on a server or client PC with linux on board. Not all clients have Internet access. How to protect the application from being hacked / uploaded to the public? Those. so that the part responsible for licensing (product key) cannot be cut / hacked.

PS I rather meant that the code is in js files. And a more or less normal programmer can remove the license check, because. sources available. How to protect yourself from this?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
X
xmoonlight, 2020-12-24
@dilepremon

After payment, you build the application with key encryption to launch the application using a hash from the payment transaction number.
If there is no hash, the program at startup asks to enter all the payment data of the buyer and a key to generate a license file (on the user's side of the program), with which it will decrypt the data each time to run the main code.
If the key and payment data of the buyer are correct (the decryption was successful), then the program will start saving the license file specifically for this PC.

D
Dr. Bacon, 2020-12-24
@bacon

Score.

C
CityCat4, 2020-12-24
@CityCat4

No way. You can protect what you can influence. You will not affect the distribution of keys in tyrnet.

P
Pavel Kornilov, 2020-12-24
@KorniloFF

I would dig in that direction . I've never done this myself, so I can't give a more detailed answer.
But in the event that you give away bare sources, there is no chance of complete protection.

A
antonwx, 2020-12-24
@antonwx

NO WAY. Look at how much money they spend on Denuva and how many problems it brings - and yet they break it. What can we say about some small application in an interpreted language.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question