• 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: 9372
11
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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!