In the Java java.policy This file, the definition of some information, such as Grant, is to authorize certain files, similar to liscense files,
This file takes a sandbox pattern, encapsulates a number of allowable ranges, enhances security,
For the Java.policy content:
Standard extensions get all permissions by default Grant CodeBase "file:${{java.ext.dirs}}/*" {Permission java.secur ity.
Allpermission;
}; Default permissions granted to all domains grant {//allows no thread to stop itself using the Java.lang.Thread.st
OP ()//method that takes no argument.
This this permission is granted by default to remain//backwards compatible. It is strongly recommended so you either remove the permission//from this policy file or further restrict it to C
Ode sources//that your specify, because Thread.stop () is potentially unsafe.
This is the API specification of Java.lang.Thread.stop () for more//information.
Permission Java.lang.RuntimePermission "Stopthread";
Allows anyone to listen on un-privileged ports permission Java.net.SocketPermission "localhost:1024-", "Listen";
"Standard" properies that can is read by anyone permission Java.util.PropertyPermission "Java.version", "read"; Permission Java. util.
Propertypermission "Java.vendor", "read";
Permission Java.util.PropertyPermission "Java.vendor.url", "read";
Permission Java.util.PropertyPermission "Java.class.version", "read";
Permission Java.util.PropertyPermission "Os.name", "read";
Permission Java.util.PropertyPermission "Os.version", "read";
Permission Java.util.PropertyPermission "Os.arch", "read";
Permission Java.util.PropertyPermission "File.separator", "read";
Permission Java.util.PropertyPermission "Path.separator", "read";
Permission Java.util.PropertyPermission "Line.separator", "read";
Permission Java.util.PropertyPermission "Java.specification.version", "read";
Permission Java.util.PropertyPermission "Java.specification.vendor", "read";
Permission Java.util.PropertyPermission "Java.specification.name", "read";
Permission Java.util.PropertyPermission "Java.vm.specification.version", "read";
Permission Java.util.PropertyPermission "Java.vm.specification.vendor", "read"; Permission Java.util.PropertyPErmission "Java.vm.specification.name", "read";
Permission Java.util.PropertyPermission "Java.vm.version", "read";
Permission Java.util.PropertyPermission "Java.vm.vendor", "read";
Permission Java.util.PropertyPermission "Java.vm.name", "read";
};