Hi,

I had an extension which worked under firefox < 1.5, but under 1.5 I get an error. The extension calls back to java code and the error I get is a:

java.security.AccessControlException: access denied (java.util.PropertyPermission networkInterface read)

when the code tries to get the System property "networkInterface".

The java code is loaded via a URLClassLoader. I've tried signing the java code with java signtool and tried signing the xpi file using nss but that doesn't help. I also have the .java.policy file set to AllPermissions. As I say, this exception was not thrown under previous versions of Firefox.

Does anyone know how I can extend the permissions of the extension? Firefox uses the Applet security setting but my code is not an applet, so it seems to be falling between stools.

Any help appreciated.

cheers,

Andrew

PS - I'm on a Mac if that makes a difference.
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to