A browser with JavaScript enabled is required for this page to operate properly.
Documentation

The Java™ Tutorials
Trail: Security Features in Java SE
Lesson: Signing Code and Granting It Permissions
Section: Steps for the Code Receiver
Subsection: Set Up a Policy File to Grant the Required Permission
« PreviousTrailNext »

The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
See Dev.java for updated tutorials taking advantage of the latest releases.
See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.

Save the Policy File

To save the new policy file you've been creating, choose the Save As command from the File menu. This brings up the Save As dialog box.

Navigate the directory structure to get to the directory in which to save the policy file: the Test directory on the C: drive. Type the file name

exampleraypolicy

Then choose the Save button. The policy file is now saved, and its name and path are shown in the text box labeled Policy File.

Then exit Policy Tool by selecting the Exit command from the File menu.

« PreviousTrailNext »

Previous page: Add a Policy Entry with a SignedBy Alias
Next page: See the Policy File Effects

AltStyle によって変換されたページ (->オリジナル) /