[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Java secure code

I want to sell a Java application that can not be cracked...what technology to use? I have it now in SWING but it is not safe. Should I use JNLP or JAVA FX (I never used them)? or what?
0
ionutcib
Asked:
ionutcib
  • 2
  • 2
1 Solution
 
CEHJCommented:
You can only secure an app by keeping it server-side, ie making it a web app. All you can do otherwise is make it more or less difficult to crack, but it will be crackable
0
 
ionutcibAuthor Commented:
So JNLP and JavaFx are not a solution to my problem?
0
 
CEHJCommented:
I'm not sure about JavaFx, but definitely not JNLP - that's client side code and is equivalent to your giving someone an app in a jar to run on their machine (which is actually what you *are* doing ;))
0
 
for_yanCommented:

Read about code obfuscation - that could make your code more difficult to crack.
There is scertainly no 100% solution; if some knowledgeable person makes it a point
to crack your code - they will do it.
Just hope that they will choose other targets.

http://en.wikipedia.org/wiki/Obfuscated_code

http://www.cs.arizona.edu/~collberg/Research/Students/DouglasLow/obfuscation.html

http://www.excelsior-usa.com/landing/jet-obfuscator.html?gclid=CPGN_7CV5qsCFYNo4AodUxbHKw
0
 
for_yanCommented:

I was recently looking at this book (very cheap at amazon):
http://www.amazon.com/Covert-Java-Techniques-Decompiling-Engineering/dp/0672326388

I think if you are concerned abiout these issues, if you look through this book, you'll get some good
ideas how to reduce the risk for your code. Of course, nothing will give the guarantee. though.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now