How to protect my expression from piracy

Possible duplicate:
How are software license keys created?

I am starting to develop software, and I would like to know how to implement a security system on my Java application to protect it from piracy. I know that there is no perfect solution. But I just want to know how to protect this. And don’t tell me to make it open source, this is not possible in my case :).

Thanks for your time and answers.

+6
source share
2 answers

Since any solution for enforcing a license can be hacked with little effort, I suggest you not try to implement copy protection at all. Managing licenses is simply inconvenient for your users.

If you are configured to implement copy protection, you can use an open source library such as TrueLicense .

Also, you should obfuscate use your bytecode to make it a bit difficult to reverse engineer your application.

+8
source

I thought about this a few years ago. In the end, I decided not to license it; I gave it away for free, but I think my best idea is:

Send them a license file containing the key. Name the file with its full name and email address or something equally personal and make sure that renaming it will invalidate the key. It should be easy to achieve. There are many methods that you could use to not require storing a key in your application.

Like any system, this is not unscrupulous, but, as I explained many years ago, the security is to have honest, honest people.

+1
source

Source: https://habr.com/ru/post/904354/


All Articles