How to prevent byte-code "decompilation" ?
I have some critical information in the source code of my program and I want to prevent a user from decompile the byte-code in order to retrieve those information.Is there a solution ?Floweb
[218 byte] By [
floweb] at [2007-9-26 1:49:09]

You can encrypt the bytecode and have a custom classloader decrypt it when it is loaded. You have to be careful, because of course the classloader itself cannot be decrypted, so someone can decompile it to figure out how to decrypt your class files.