Forums Register Login

Applet security issue - works in Firefox, not IE7

+Pie Number of slices to send: Send
This is a signed applet. Some applet methods run fine. Those that need to do a System.getProperty fail.

I get:
AccessControlException: access denied (java.util.PropertyPermission propertyname, read)

I have AllPermission granted so how can it reject access? I explicitly granted PropertyPermission, read but that does not work either. I have been using this same approach for several years but I never used IE. Again: it works fine in FireFox so I feel I have java.policy setup properly. Ideas?
+Pie Number of slices to send: Send
Hello "Ipmon"-

You've been around the ranch long enough to know that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, are both browsers using the same JRE? Maybe the relaxed security policy is set up only for the JRE used by Firefox.
Nothing? Or something? Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 778 times.
Similar Threads
i have problem with Accessing files
java.security.AccessControlException: access denied (java.util.PropertyPermission *read,write)
applet not display in RHL firefox3
Browsers and jre plugins for applets
Site unaccessible after Firefox update
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:46:39.