-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.2.0
-
x86, sparc
-
solaris_2.6
By manipulating the properties java.security.manager and
java.security.policy and using policytool, users are supposed to
be able to manipulate security policies on a case by case basis.
Parts of the mechanism do not seem to work on sparc solaris. I am
unable to get one JavaSoft tutorial to work because of SocketPermission
exceptions. I am unable to get a local version of this tutorial to
work because of AccessControlExceptions.
The attached script makes three attempts to get the applet code WriteFile to
write into the file writetest. Source code is also attached. In the first
attempt, a file protocol is used to gain access to the HTML file WriteFile.html
containing the APPLET tag for WriteFile.class. In the second attempt, http
is used to do the same. The third attempt tries to load the example from the
java.sun.com and corresponds to the tutorial.
Standard output and standard err were redirected into Y.out, also attached.
allan.jacobs@Eng 1998-11-10
java.security.policy and using policytool, users are supposed to
be able to manipulate security policies on a case by case basis.
Parts of the mechanism do not seem to work on sparc solaris. I am
unable to get one JavaSoft tutorial to work because of SocketPermission
exceptions. I am unable to get a local version of this tutorial to
work because of AccessControlExceptions.
The attached script makes three attempts to get the applet code WriteFile to
write into the file writetest. Source code is also attached. In the first
attempt, a file protocol is used to gain access to the HTML file WriteFile.html
containing the APPLET tag for WriteFile.class. In the second attempt, http
is used to do the same. The third attempt tries to load the example from the
java.sun.com and corresponds to the tutorial.
Standard output and standard err were redirected into Y.out, also attached.
allan.jacobs@Eng 1998-11-10