Java Applet With Quicksilver - Help to configure appropriate security privileges

Most detailed and secure version

Creating the necessary policies with "policytool"

Repeat this for the properties

At least now the Quicksilver-Applet should load if you added the codebase "http://www.usf.uos.de/projects/quicksilver/applets/quicksilver.jar". That means, you see something like this in your browser window:

Snapshot image Real applet

If above You see the same image twice, the Quicksilver applet already loads correctly.

Next would be to load a model-file by klicking on . But since loading a file requires access to the file-system, some more security-permissions are required. Quicksilver also has a configuration file which it wants to save and therefore read and write access is required. Undoubtedly it is not a good idea to grant this privilege to each and every applet and so the codebase for the policy-entry should also be set. Which codebase depends on where you're loading the applet from. Set the codebase for example to

If you have more than one location from where you want to load the Quicksilver applet from, repeat all the steps described on this page for each one of them. Or open the policy-file in an editor and copy the entries by hand. If unsure view an explanation on how to copy such an entry.

For granting acces to the file-system and setting the code-base of the appropriate policy, open policytool again.

The other permissions required are:

Unfortunately, future versions of Quicksilver might require additional security privileges. The policy file has to be edited again then. If you don't want this (and if you've set the codebase carefully), you also can grant all privileges by just adding the "allPermission".


If you have any comments or corrections to this explanation please send an email to jaetzold@usf.uos.de.