1

How do I stop someone from copying the application i am making in java in an other pc ? i want to sell it only for one pc

I am not selling it on the internet , is there any way to do that by the disk SN or using USB Flash disk SN of the client as a key for the app ?

I am using mysql as back-end for my application and the platform is Windows.

Is there a way to provide this security ?

Adel Bachene
  • 934
  • 1
  • 14
  • 32
  • 1
    Have you searched the web for this already? When I search I find a number of options, with the caveat that without a lot of effort/money you'll stop only the weakest of attempts. Is it really worth it? – Dave Newton Aug 08 '12 at 17:57
  • 2
    Did you really create the next incarnation of MS-Word? Perhaps you should concentrate not so much on selling the software, but on selling the value of your services associated with the software. – Hovercraft Full Of Eels Aug 08 '12 at 17:58
  • 1
    Well, the way Microsoft handles this is by issuing a unique CD key to each purchase/license, and then registering each installation (identified by a "system ID") against a validation server on the internet. But my suggestion to you would be to first worry about making a great product that's worth stealing, and then worry about how to implement copy protection. Also, if you're distributing MySQL with your software, I hope you've reviewed _their_ license. – Scott Aug 08 '12 at 17:59
  • 1
    I feel that might be difficult because thousands of developers dedicated _lot_ of their time to specifically make portability possible. So, they might have ignored this aspect completely. – Prasanth Aug 08 '12 at 18:00

2 Answers2

1

Assuming the PC is connected to the internet, you could read the PC MAC address when starting the application and send a request to your server to check if that MAC address is authorised.

But that means that every time the user changes his PC you need to update your records.

assylias
  • 310,138
  • 72
  • 642
  • 762
0

I reckon the only way you'll be able to achieve this level of control is if you move your application into a cloud-based service such as Amazon Web Services. That way, your clients have to subscribe to gain access to your application, and you can disable access if payment stops.

Bobulous
  • 12,606
  • 4
  • 38
  • 66