Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with applet in jre6u45 asking permission  RSS feed

 
Victor Hugeman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is about applet .I am trying to use JRE6u45 but its asking security permission and applet funtionality is not working properly but its working fine in JRE6u16 please help me how to run applet application in JRE6u45 and above version.
I am trying to run applet application in JRE6u45 but its asking permission like not able to access local system file .when i added these permission in java policy file its working fine but my question is that how to update these all permission to all clients who ever will access this app .

Error:"AccessControlException access denied("java.util.PropertyPermission""myProp""write")
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

Applets can only access some properties; others are guarded by the sandbox they run in. Having all your users adjust their local security policy files is likely not an option (unless their computers are centrally managed), so you would need to sign your applet digitally. More information can be found at http://www.coderanch.com/how-to/java/HowCanAnAppletReadFilesOnTheLocalFileSystem
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!