2.4. Write a Java Security Manager Policy
An application called
policytool is included with most JDK and JRE distributions, for the purpose of creating and editing Java Security Manager security policies. Detailed information about
policytool is linked from http://docs.oracle.com/javase/6/docs/technotes/tools/.
Procedure 2.2. Setup a new Java Security Manager Policy
policytooltool in one of the following ways.
Red Hat Enterprise LinuxFrom your GUI or a command prompt, run
Microsoft Windows ServerRun
policytool.exefrom your Start menu or from the
bin\of your Java installation. The location can vary.
Create a policy.To create a policy, select Add Policy Entry. Add the parameters you need, then click Done.
Edit an existing policySelect the policy from the list of existing policies, and select the Edit Policy Entry button. Edit the parameters as needed.
Delete an existing policy.Select the policy from the list of existing policies, and select the Remove Policy Entry button.