Answer the question
In order to leave comments, you need to log in
What are the ways to protect web applications from copying?
We want to install our web application on the client's server. What are some ways to protect an application (Django) from being copied and installed on other servers?
As far as I understand, there should be some kind of license key in which the mac address of the server will be encrypted, and the expiration date of the license. This key will be periodically checked by the application, and in the absence of a key or its expiration, the application will be blocked. How then to protect the code of the application itself from decompilation and hacking?
Answer the question
In order to leave comments, you need to log in
It may be wiser to look towards a contract / license with a written right to audit, etc. Technically, a relatively reliable protection would be to install your own version of python with rewritten imports and encrypt the bytecode.
And to provide in the form of a virtual machine that will have access (ssh / rdp) only to you?
Go to check the license on your server, from which the algorithm will no longer be pulled?
Mac, they can change, one hell. We need to think about a more complex mechanism.
If the client does not care about the mutual exclusivity of the confidentiality of the database and the closed code of the site, then the database and the application can be separated on 2 different machines / VPS (in the same local area). The client has a server with a database to which you "have no access"; you have a server with an application that the client does not have access to. No keys, etc. will be needed. In the django settings, only the host and port will need to be specified for the base, and that's it.
Scatter the verification code throughout the code, in each file so that it is invisibly present, and everything breaks without it. Obfuscate the code. After that, it may well be cheaper to hire developers to write a new application than to hack yours.
only if the service is like Saas, the rest is hacked.
Sell together with iron activation keys.
If you need really reliable protection, then look towards HASP keys (there are both hardware and software keys). They have the ability to store their information inside the key and set license restrictions, including the expiration date.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question