Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet security issues

 
Dan Lynch
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am wondering a few things about the security restrictions with applets. When you alter the policy file on the host machine of your applet, does that mean that if the applet is accessed from a remote machine it will use that policy file. I have altered the policy6 files on the host and the applet runs in the IDE (jdeveloper) and with commandline appletviewer. But it will not run in any browsers. I am getting the following exception:

AccessControlException: access denied (java.util.PropertyPermission oracle.jserver.version read)

Please help
 
Joe Ess
Bartender
Posts: 9340
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dan Lynch:
When you alter the policy file on the host machine of your applet, does that mean that if the applet is accessed from a remote machine it will use that policy file.


No. The policy file only affects the local JVM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic