Introduction to Fundamentals of Java Security Magercises
Welcome to the MageLang Institute
Magercises for the Security
Course Module.
These magercises cover the fundamental principles behind using the various
security capabilities of JavaTM technology
in applications or in applets.
A help document provides a quick explanation of
the concepts behind the magercises.
Magercises
-
Writing Your Own SecurityManager
Create a security manager to restrict access within Java programs.
Educational goal(s):
- How to limit program access
-
Using Netscape's Capabilities Classes
Learn how to use Netscape's Capabilities API as a preview to signing
applets for privileged access within Communicator.
Educational goal(s):
- How to use Netscape's Capabilities API
-
Signing Jar files for Netscape Communicator with signtool
Finish off the Using
Netscape's Capabilities Classes applet by signing the code and enabling
it as a trusted applet within Netscape Communicator.
Educational goal(s):
- How to sign JAR files with
signtool
- How to create privileged applets for Netscape's Communicator
-
Writing Your Own ClassLoader [JDK 1.1]
Create a class loader to understand the process of converting
.class
files into real Java objects.
Educational goal(s):
- How to customize class loading by creating your own class loader
-
Using URLClassLoader [JDK 1.2]
Create a URLClassLoader
to load a class from other than the
CLASSPATH
.
Educational goal(s):
- How to customize class loading by using
URLClassLoader
-
Using policytool [JDK 1.2]
Use the JDK policytool
tool to break out of the sandbox to make
a file writable from an applet.
Educational goal(s):
- How to use
policytool
to expose permissions
Copyright © 1998 MageLang Institute.
All Rights Reserved.