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.

You can either do this with JCE, see
http://mindprod.com/jgloss/jce.html

If your files are short, and you want a lightweight solution that uses
public key cryptography without needing the JCE library installed, see
http://mindprod.com/products1.html#TRANSPORTER

--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Re: problem with sourcepath option
    ... I want to compile this file from another directory,say ... required <source files>. ... javac -sourcepath news news/PathTest.java ...
    (comp.lang.java.programmer)
  • Re: Help with a basic example
    ... Actually javac doesn't care where you put your source files... ... But since most people organize their source files according to the ... This is obviously not a good thing, as you can't run the class files ...
    (comp.lang.java.help)
  • Re: Compiling -- Can I Control Where .java and .class Files Are Kept?
    ... Usage: javac <source files> ... -g:Generate only some debugging info ... -encoding Specify character encoding used by source files ...
    (comp.lang.java)
  • Re: can I import from foo.jar without unzipping?
    ... On Sun, 22 Aug 2004, jmm-list-gn wrote: ... I've searched Sun's website and haven't found anything ... Usage: javac <source files> ...
    (comp.lang.java.help)
  • Re: encrypted source file support in jdk?
    ... en-/decrypt the source files. ... sort of tool to not only delete the decrypted source, ... source files or class files while in unencrypted state. ... You have to think about how a hacker could go AROUND your encryption ...
    (comp.lang.java.help)