Download the JDK
Search the Tutorials
Hide the TOC
Trail: Security Features in Java SE
Lesson: Quick Tour of Controlling Applets
Section: Set up a Policy File to Grant the Required Permission
Quick Tour of Controlling Applets
Observe Applet Restrictions
Set up a Policy File to Grant the Required Permission
Start Policy Tool
Grant the Required Permission
Save the Policy File
See the Policy File Effects
Home Page > Security Features in Java SE > Quick Tour of Controlling Applets
« Previous • Trail • Next »
Save the Policy File

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

> The examples in this lesson and in the Quick Tour of Controlling Applications lesson assume that you stored the policy file in the `Test` directory on the `C:` drive.

> Navigate to the `Test` directory. Type the file name `mypolicy` and click on Save.

> The policy file is now saved, and its name and path are shown in the text box labeled `Policy File`.

> This figure has been reduced to fit on the page.
> Click the image to view it at its natural size.

> Exit Policy Tool by choosing Exit from the File menu.

« Previous • Trail • Next »
Previous page: Grant the Required Permission
Next page: See the Policy File Effects