This section covers the following topics:
RSA signed applet support has been added to Java Plug-in. This provided the following:
You do not need to deploy security key files to each machine.
This section describes how to create and deploy RSA signed applets. For an overview of how they are implemented, see How RSA Signed Applet Support Works.
The RSA signed applet support in Java Plugin 1.3 and higher versions uses the Netscape Object Signing conventions.
To create an RSA signed applet you need:
Once the Object Signing Certificate and the Netscape Signing Tool are properly installed, they can be used to sign applets. For security reasons, install the Netscape Signing Tool and the Object Signing Certificate in secure locations.
To create an RSA signed applet:
.class
files in a JAR file using the "jar"
command in the Java 2 SDK.
To deploy RSA signed applets:
archive="xyz.jar"
in the APPLET
tag.
When users of Java Plug-in encounter an RSA signed applet, the Plug-in will verify whether:
If both verify positive, the Plug-in will pop-up a security dialog telling the user who signed the applet and providing four options:
Once the user selects the options from the security dialog, the applet will be run in the corresponding security context. Note that all options are selected on the fly; no preconfiguration is required.
Existing RSA signed applets designed for Netscape may use Netscape-specific security APIs. These Netscape-specific APIs are not supported in Java Plug-in. Instead, the Plug-in supports the standard Java security APIs in both Netscape Navigator and Internet Explorer.
To migrate Netscape-signed applets using the Netscape security APIs to run in Java Plug-in:
netscape.security.*
related
statements from the Java applet.This ensures that an RSA signed applet will run in both Netscape Navigator and Internet Explorer with Java Plug-in.
The Java Plug-in Control Panel provides a panel for managing RSA signed applets. This panel contains a list of certificates that received "Grant always" permission when the Java Plug-in security dialog (pop-up) ran. Users can remove any certificate from the list, and if an applet signed by a removed certificates is encountered again, a security dialog pop-up will appear asking for permission. Users can also export and view certificates through the control Panel.
RSA signed applets can be entirely disabled in Java Plug-in by specifying the
usePolicy
permission in the policy file. If the usePolicy
permission is among the permissions granted to the given codesource (by the
configured security policy), user prompting will not take place, and only permissions
specified in the security policy will be granted to the codesource. By default,
RSA signed applets are enabled in the Java Plug-in.