• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Licensing and Source Code Protection

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We want to implement Licensing solution for our product and also we want to
protect our source code.

I heard the Byte-code encryption is better than obfuscation.

We want the best solution and also we are open for using Open Source / Licensed tool.

Please help us in this regard.
 
Ranch Hand
Posts: 1970
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First, realise that you will not be able to stop a determined and capable hacker from bypassing your protection. You can only increase the amount of time it will take, in the hope that they will get fed up before they crack it.

Byte code encryption means the files on your disk don't look like Java class files and cannot be trivially loaded by some other program. They typically have to be loaded by a custom class loader, which applies some sort of licensing check.

If you use some native code in your scheme, you can make it a bit harder to work out what's going on. I've got one or two further tricks, which I don't think I should pass on.

But still, I don't know of any way to achieve anything beyond deterrent-level protection.
reply
    Bookmark Topic Watch Topic
  • New Topic