I made a program (.jar) which I want to let others use, but not share with others without my permission. I thought about encryption, but I know they will just let the other people know the encryption password.
Is there any way in Java or Javascript Offline to check if someone attempts to share my program? or better yet a way to stop people from sharing, but allowing me to share (one time share or password to share)
Edit: prefer offline as i know how to do a online database solution
you can ask their IP address and use that as a key then build a Jar file based on that. I hope this will help you.