0

I have created a JAR file which allows a user to perform certain automation on application. I am giving it to the customers to try it out, so they know what they are buying.

I wan to restrict the usage of my JAR for specific user/customers, this way it will not be distributed. How can I achieve this?

PratikPal
  • 51
  • 1
  • 3
  • Maybe you could try to do something like [this](https://stackoverflow.com/questions/10107989/self-destructing-application) instead? – bkis Nov 14 '19 at 12:51
  • This is good solution given that required access to delete my JAR are available on the system where it is running. I dont know about the environment they will be using since my solution is compatible to work on MAC, Windows & Linux. – PratikPal Nov 14 '19 at 13:00
  • One correct way is to have an online account system (where each user has a username/password) that is accessed by the app and requires the user to provide credentials. No login, no start of the application. To do so the online system sends something after logon that is required for the startup process. – Robert Nov 14 '19 at 13:02
  • Can I use the something like _jarsigner_ to sign the user and restrict that user to access the JAR? – PratikPal Nov 14 '19 at 13:50

0 Answers0