File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Securing My Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Securing My Application" Watch "Securing My Application" New topic

Securing My Application

Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

Dear All

How could I secure my class files/jar files from de-compile.

Can any one tell me what is the procedure.

Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33130

You can't. Any class file or jar that someone gets a copy of can be decompiled. You can use an obsfucator to make it harder for them to understand the decompiled code though.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Securing My Application
It's not a secret anymore!