• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Applet security issues  RSS feed

 
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
 
Bartender
Posts: 9509
12
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
Boost this thread!