• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Security in Deploying Desktop applications  RSS feed

 
aymane chetibi
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am a beginner designer. I am designing a Java desktop application that manages some specific offices.
I want to protect my application against the fact that once I give it to somebody, other people can come and copy it from him. (THUS not buying it)

What are the practices used in the market for that.

Thanks a lotttttttttttttttt.
regards,
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could require the user to enter a user name and a license key, which is bound to that particular user name. If you can require the user to be online, you could even access your server to check the license in realtime, possibly even using the IP address of the machine the app is running on (which may not be unique if a NAT firewall is used).

But Java programs can generally be decompiled (i.e, the source code can be recovered from the binary), so a determined hacker will find ways around these. But it can be made hard enough that a casual user can't do it.
 
aymane chetibi
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you a lot for your answer.
havin a username and a license key is what I was thinking of doing since the begining. but if the user is not online how can I check the license key ??

and if I don't want to userto have the installation of he application, I have to go and deploy it mayself.
and then whenever they add new PCs or fomate their old ones I have to go again and install it ?? is it right or am I understanding that wrongly ??

Please help me.
regards,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!