This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Applets and the fly likes Security Exception in Netscape Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Security Exception in Netscape" Watch "Security Exception in Netscape" New topic

Security Exception in Netscape

Carey Brown
Ranch Hand

Joined: Nov 19, 2001
Posts: 864

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/*" {
I found two copies of the java.policy file and added this to both. It still doesn't work. Any suggestions?

Understanding the scope of the problem is the first step on the path to true panic
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Carey,
Just one:
I agree. Here's the link:
subject: Security Exception in Netscape
jQuery in Action, 3rd edition