I have a pretty sophisticated applet running from several JARs. The main applet is in a signed JAR and performs local file accesses. This works fine. However, the applet in this signed JAR is instantiating a class from another JAR which inherits a class from yet another JAR and this superclass does a loadLibrary() call to load a local DLL. This is getting an access denied error.
All of these JARs are loaded as part of the APPLET tag. All these JARs are signed. Yet, I'm still getting the access denied error.
The reason for so many JARs is that the main applet does not always require access to this local library. In these cases, the library is not loaded.
Does anyone know the answer to these question:
If you have an applet running from a signed JAR that performs local system accesses (files, DLLs, etc.), is it required by the security layer that all local accesses occur from classes within the signed JAR from which the main applet was loaded?
Is it not possible to instantiate classes that perform local accesses from another JAR--even if the other JAR is signed as well?
Is there a way I can have the security layer allow this without loading all my local accesses into the signed JAR from which the main applet runs?
All of these JARs are loaded as part of the APPLET tag. All these JARs are signed. Yet, I'm still getting the access denied error.
The reason for so many JARs is that the main applet does not always require access to this local library. In these cases, the library is not loaded.
Does anyone know the answer to these question:
If you have an applet running from a signed JAR that performs local system accesses (files, DLLs, etc.), is it required by the security layer that all local accesses occur from classes within the signed JAR from which the main applet was loaded?
Is it not possible to instantiate classes that perform local accesses from another JAR--even if the other JAR is signed as well?
Is there a way I can have the security layer allow this without loading all my local accesses into the signed JAR from which the main applet runs?
Comment