Answer the question
In order to leave comments, you need to log in
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
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.
No way. You can protect what you can influence. You will not affect the distribution of keys in tyrnet.
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question