0
0
0x13h2012-08-04 00:09:11
Django
0x13h, 2012-08-04 00:09:11

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

8 answer(s)
M
MikhailEdoshin, 2012-08-04
@MikhailEdoshin

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.

P
prox, 2012-08-04
@prox

And to provide in the form of a virtual machine that will have access (ssh / rdp) only to you?

V
Vlad Zhivotnev, 2012-08-04
@inkvizitor68sl

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.

K
kmike, 2012-08-04
@kmike

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.

E
egorinsk, 2012-08-04
@egorinsk

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.

A
Alexander Borisovich, 2012-08-04
@Alexufo

only if the service is like Saas, the rest is hacked.
Sell ​​together with iron activation keys.

M
mihavxc, 2013-11-29
@mihavxc

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.

K
kyoto, 2016-03-15
@kyoto

Or StarForce again. They have a product that is tied to a local or remote server that counts the number of launches or jobs, depending on what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question