Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Aamer

 
Muhammad Aamer Manzoor
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I get "AccessControlException access denied(java.io.FilePermission filename read)" when I run my applet in Browser and the browser wants to read a text file.I dont see this exception when run this applet in appletviewer.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This deserves to be moved to the Applets forum, but the short answer is:
Applets run inside a 'sandbox' that severly restricts their ability to do things. Operations that do anything to the local computer or try to do anything to any other computer from yours is almost completely disabled. You can use signed applets to authenticate your applets and give users the opportunity to volutarily let an applet have more access, but this (in my experience) is rare.
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic