xmlgraphics-batik-users | 1 decade ago
| Thomas DeWeese
java.security.AccessControlException: access denied
> C:\Documents and Settings\w0zhang\Desktop\myTest.svg read)
This exception has nothing to do with your XML parser.
Applets are simply not allowed to read files from the local machine.
They may only fetch resources from the host they originated from.
Otherwise an Applet could read anything on your machine and send it
back over the Internet.
java.security.AccessControlException: access denied ("java.net.SocketPermission" "www.mydomain.com:443" "connect,resolve") For testing proposals, the custom SecureClassLoader is granting all permissions. That does not help. I'm also trying to replace the Security Manager, but I cannot: java.lang.SecurityException: JVM Shared, not allowed to set security manager even if I add the parameter to the applet descriptor inside the jnlp: PARAM name="separate_jvm" value="true" I cannot replace the manager. Can anyone point what can I do to be able to grant permissions to those classes? It is not possible to change the policy files on the client side. Here I add the stacktrace to point where the calls are coming from: java.security.AccessControlException: access denied ("java.net.SocketPermission" "www.mydomian.com" "resolve")