Re: encrypted source file support in jdk?



On Thu, 27 Sep 2007 14:17:55 +0200, Tom Forsmo <tom@xxxxxxxxxx> wrote,
quoted or indirectly quoted someone who said :

What I am looking for is to set up a jdk environment where the source
code is ecrypted at the file level. This requires javac to be able to
en-/decrypt the source files. For further protection, the jvm would need
such support as well.

The usual way would do that is to use an ant script to decrypt each
project, compile it, then delete the decrypted source, invoking some
sort of tool to not only delete the decrypted source, but wipe it.

If a hacker has access to your machine he will be able to grab the
source files or class files while in unencrypted state. This machine
ought not to live on a LAN or the Internet.

You have to think about how a hacker could go AROUND your encryption
system, rather than tackling it head on.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.