Microsoft SDK for Java

Using the Permissions INI File Editor

The Permission INI File Editor creates and edits .ini files quickly and easily by enabling you to specify the permissions using a graphical user interface. (Alternatively, you can create .ini files manually and set the value of each variable in the file.)

To start the Permission INI File Editor, type piniedit on the command line, optionally followed by the name of the .ini file that you want to edit:

piniedit [inifilename]

The Permissions INI File Editor dialog box appears. This dialog box contains seven permissions tabs. Choose the tab that corresponds to a permission that you want to set. You can then edit the permission by selecting appropriate check boxes and entering parameters in the text boxes contained in each tab.

The following table describes the permissions that can be edited in each tab:

Tabs and their editable permissions

Tab name Permission description
File The ability to read, write, or delete files.
Registry The ability to read, write, delete, create, or open keys in the registry.
Network The ability to connect or bind to various hosts or ports on the network.
Client Services The ability to access client storage, perform user-directed file I/O, access user interface functionality, print, use multimedia libraries, and access security classes.
System The ability to run programs, access system properties, manipulate threads, and redirect system streams.
Reflection The ability to access public or declared members of a class, based on the class loader.
Custom The ability to use a non-system permission designed by the user.

The piniedit tool uses the same user interface as the Edit Custom Permissions dialog box of the Custom Permissions Editor, cprmedit. (The cprmedit tool sets Java permissions for security zones). For detailed information about the permission tabs and how to edit them, see the Editing Permission Sets section of Defining Permission Sets Using Cprmedit.

Note the following general rules for entering information:

For more information on .ini files, see the Java Permissions .INI Values Reference and the Sample Permissions .INI File. To learn how .ini files are used with the signcode tool, see Signing a Cabinet File with Java Permissions.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.