Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to protect my application against piracy [duplicate]

Possible Duplicate:
How are Software License Keys generated?

I am a beginner in software developement and I would like to know how to implement a protection system on my Java app to protect it against piracy. I know that there's no perfect solution. But i just want to know how protect it. And don't tell me to make it open source,it's impossible in my case :).

Thanks for your time and answers.

like image 809
Zak001 Avatar asked Dec 22 '11 23:12

Zak001


People also ask

How can you protect an app from piracy?

All in all, the best way to really secure your application from piracy is to correctly configure and use Proguard, Google Play Licensure, and to sign you final apk with a very secure license key. I'd like to point out that you don't need a rooted device to get a copy of an APK. ADB pull com. example.

How can piracy be prevented?

Use anti-piracy services There are various anti-piracy services out there you can use to fight digital piracy. These services usually aim at disrupting the access to the content, even removing it entirely. Some services can even go down as far as identifying precisely who is pirating the content!


1 Answers

As any license enforcement solution can be cracked with a bit of effort, I suggest you don't try to implement copy-protection at all. License management is just inconvenient for your users.

If you are determined to implement copy-protection, you can use an open-source library.

Additionally, you should obfuscate your byte code to make it slightly more difficult to reverse-engineer your application.

like image 135
Niklas B. Avatar answered Sep 21 '22 00:09

Niklas B.