Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet security issue - works in Firefox, not IE7

 
Dowell Griffin
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic