Secure Packages

C

Cha0s

Is it possible to make packages with non-class files (say, a folder,
or Stuffit archive) that are accessible only to a class file within
the package? Could it be set up so that even a UNIX root user wouldn't
be able to access the files? Would it be necessary to encrypt the
files (and use a Java class to decrypt them) and if so, how? Sorry for
my inexperience here. I'm really kind a beginner at Java programming,
but I need some of these functions for the program I'm writing so...
*shrug* Thanks in advance for any help!
 
M

Michael Borgwardt

Cha0s said:
Is it possible to make packages with non-class files (say, a folder,
or Stuffit archive) that are accessible only to a class file within
the package?

Not really.

Could it be set up so that even a UNIX root user wouldn't
be able to access the files?

That is absolutely, fundamentally impossible.

Would it be necessary to encrypt the
files (and use a Java class to decrypt them) and if so, how?

What you *can* do is encrypt the data, which does not prevent people from accessing
the file, but gives them only garbage. However, it is *not* possible to give out a program
that decrypts and uses the data without making it possible for anyone who has that
program to analyze it, extract the encryption key and decrypting the data independantly
from your program.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,185
Latest member
GluceaReviews

Latest Threads

Top