• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security Exception in Netscape

 
Carey Brown
Ranch Hand
Posts: 1392
16
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wrote a trivial applet that reads a file on my hard disk. I'm getting a security exception when I try to run this from Netscape. Per a friends suggestion I've added the following to the java.policy file:
grant codeBase "file:C:/source/applet/*" {
permission java.security.AllPermission;
}
I found two copies of the java.policy file and added this to both. It still doesn't work. Any suggestions?
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carey,
Just one:
http://www.suitable.com/CodeSigningOverview.shtml#sandbox
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic