author | mullan |
Tue, 03 Jul 2012 14:56:58 -0400 | |
changeset 13159 | b2bf5f74dd06 |
parent 2183 | 8eb97a6368b8 |
child 22339 | e91bfaf4360d |
permissions | -rw-r--r-- |
2 | 1 |
|
2 |
// Standard extensions get all permissions by default |
|
3 |
||
4 |
grant codeBase "file:${{java.ext.dirs}}/*" { |
|
5 |
permission java.security.AllPermission; |
|
6 |
}; |
|
7 |
||
8 |
// default permissions granted to all domains |
|
9 |
||
10 |
grant { |
|
11 |
// Allows any thread to stop itself using the java.lang.Thread.stop() |
|
12 |
// method that takes no argument. |
|
13 |
// Note that this permission is granted by default only to remain |
|
14 |
// backwards compatible. |
|
15 |
// It is strongly recommended that you either remove this permission |
|
16 |
// from this policy file or further restrict it to code sources |
|
17 |
// that you specify, because Thread.stop() is potentially unsafe. |
|
2183
8eb97a6368b8
6787130: java.policy file contains stale link to http://java.sun.com/notes
mullan
parents:
2
diff
changeset
|
18 |
// See the API specification of java.lang.Thread.stop() for more |
8eb97a6368b8
6787130: java.policy file contains stale link to http://java.sun.com/notes
mullan
parents:
2
diff
changeset
|
19 |
// information. |
2 | 20 |
permission java.lang.RuntimePermission "stopThread"; |
21 |
||
22 |
// allows anyone to listen on un-privileged ports |
|
23 |
permission java.net.SocketPermission "localhost:1024-", "listen"; |
|
24 |
||
25 |
// "standard" properies that can be read by anyone |
|
26 |
||
27 |
permission java.util.PropertyPermission "java.version", "read"; |
|
28 |
permission java.util.PropertyPermission "java.vendor", "read"; |
|
29 |
permission java.util.PropertyPermission "java.vendor.url", "read"; |
|
30 |
permission java.util.PropertyPermission "java.class.version", "read"; |
|
31 |
permission java.util.PropertyPermission "os.name", "read"; |
|
32 |
permission java.util.PropertyPermission "os.version", "read"; |
|
33 |
permission java.util.PropertyPermission "os.arch", "read"; |
|
34 |
permission java.util.PropertyPermission "file.separator", "read"; |
|
35 |
permission java.util.PropertyPermission "path.separator", "read"; |
|
36 |
permission java.util.PropertyPermission "line.separator", "read"; |
|
37 |
||
38 |
permission java.util.PropertyPermission "java.specification.version", "read"; |
|
39 |
permission java.util.PropertyPermission "java.specification.vendor", "read"; |
|
40 |
permission java.util.PropertyPermission "java.specification.name", "read"; |
|
41 |
||
42 |
permission java.util.PropertyPermission "java.vm.specification.version", "read"; |
|
43 |
permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; |
|
44 |
permission java.util.PropertyPermission "java.vm.specification.name", "read"; |
|
45 |
permission java.util.PropertyPermission "java.vm.version", "read"; |
|
46 |
permission java.util.PropertyPermission "java.vm.vendor", "read"; |
|
47 |
permission java.util.PropertyPermission "java.vm.name", "read"; |
|
48 |
}; |
|
49 |