Security Section Index | Page 13
How do I get rid of the Unsigned Java Applet Window message at the bottom of windows/frames I create in my applet?
This is a security feature to prevent untrusted applets from displaying what appear like trusted windows. If you sign your applet and the user trusts you, the message will go away.
What's the best book for learning about Java security?
I've found Inside Java 2 Platform Security by Li Gong, the "father" of Java security to be an excellent reference.
For an excellent introduction, try the chapter on Java Security within Core Java ...more
How does the Security Manager work?
A: The Security
Manager is the class maintaining the restrictions of the java virtual machine
sandbox. Simply put, it is a subclass of java.lang.SecurityManager that performs
runtime permission ch...more
Are there any free providers of JCE solutions?
Yes, check out:
Cryptix
How do you create a Message Digest with the Java Security API? (Message Digest code example)
How do you create a Message Digest with the Java Security API? (Message
Digest code example)
What do you need to establish computer security?
There are essentially four aspects of computer security:
Aspect
Generally achieved by
Explanation
Effect
Confidentiality
Encryption
Protects message c...more
What is "private key"/"symmetric"/"secret key" cryptography?
What is "private key"/"symmetric"/"secret key" cryptography?
What is "public key"/"asymmetric" cryptography?
What is "public key"/"asymmetric" cryptography?
What is a Digital Signature?
Digital Signatures are used to ensure the identity of a sender. In conjunction with Message Digests, Digital Signatures prevents someone from altering a message and falsely claimin...more
What is a Message Digest?
A Message Digest is a digitally created hash (fingerprint) created from a plaintext block. All the information of the message is used to construct the Message Digest hash, but the ...more
What is hybrid cryptography?
Combination of public and private key cryptography, where the exchange of
an encrypted session key is done using public key cryptography. The following
encrypted session is then pursued with pri...more
Which class is the system default ClassLoader?
The default ClassLoader is sun.misc.Launcher$AppClassLoader (which is
fairly irrelevant in itself) which extends java.net.URLClassLoader. The reverse
(superclasses below subclasses) inheritance ...more
How do I work with message digests?
Get the message content as a byte[]. If coming from a file, read bytes from FileInputStream into ByteArrayOutputStream. Other sources would use similar methods, but remember to not treat content ...more
Where can I find a byte code obfuscator?
There are many different ones available, each offering their
own feature set.
Condensity
DashO
JCloak
ObfuscatePro
SourceGuard
Zelix
KlassMaster
more
How can I speed up array accesses and turn off array bounds checking?
You cannot. It is part of the security architecture of the Java runtime to ensure never accessing invalid memory space.