Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

how can protect java codes from hackers?

  Asked By: Adelina    Date: Jun 17    Category: Java    Views: 1084
  

my question is about protecting java codes from cracking or decompiling them,how can we protect them or mislead hackers to not access source codes?

Share: 

 

7 Answers Found

 
Answer #1    Answered By: Adalwine Fischer     Answered On: Jun 17

theoretically every method is breakable
(even developing special hardware)
you can only use methods to make it harder for crackers
following are steps you can take:
1) use code obfuscator
2) native compilation
3) your own JVM
4) dedicated hardware designed for your own native code!

 
Answer #2    Answered By: Kristin Johnston     Answered On: Jun 17

you can find this tool on netbeans project properites
this tool renaming class as a,b,c

 
Answer #3    Answered By: Beatriz Silva     Answered On: Jun 17

The routine approach is Obfuscator, which most expert Obfuscator
use some techniques for dramatically complex your source  code from
decompilation , but the more advanced approach is excrypting your
source code after compilation and developing custom classloader for
decryting your sourcecode to execute on JVM.
so there is nothing to decompile or reverse engineering.

 
Answer #4    Answered By: Yvonne Watkins     Answered On: Jun 17

> decryting your sourcecode to execute on JVM. so there is nothing to decompile or reverse engineering.

one can put a layer on JVM to store the loaded classes on file and later reverse engineer them.

 
Answer #5    Answered By: Yvette Griffin     Answered On: Jun 17

that'r right,
i think everything can happen in real world ;)
in fact for an action there is an reaction,
that's mean we can not reach to pure secure software,
but we try to reach safer level,
for instance Obfuscator can complex your source  code from
other but deObfuscator can revers them. (this is not except)

'so there is nothing to decompile or reverse engineering'
that's incorrect, sorry my friend

 
Answer #6    Answered By: Brent Brown     Answered On: Jun 17

Alireza could you help me further on it,i didnt get exactly what you meant:
"the more advanced approach is excrypting your
source code after compilation and developing custom classloader for
decryting your sourcecode to execute on JVM.
so there is nothing to decompile or reverse engineering."
is that possible to introduce me some references

 
Answer #7    Answered By: Kay Rodriguez     Answered On: Jun 17

i dont have real Experience with this,
but i found some good reference:

www.artima.com/underthehood/classloadersP.html
www.javaworld.com/.../01-qa-0509-jcrypt.html

 
Didn't find what you were looking for? Find more on how can protect java codes from hackers? Or get search suggestion and latest updates.




Tagged: