My applet needs to read information from a network file but this file must not remain open so first I copy it to a new file and then read that one. This works fine when I run it from JBuilder, but when I launch it from IE it gives me the error java.security.AccessControlException:access denied(java.io.FilePermission p:\... write). Im opening the source file with a FileInputStream, not requesting write permission. So why do I get this error and how do I get around it.
I appreciate the tip from "bartender" because I am also trying to use an applet on my webpage that needs to read files from my own web location. I have read, read and re-read the 'Quick Tour of Controlling Applets' and for the life of me I can't get the WriteFile example to work after putting the 'mypolicy' file in C:Test. I'm beginning to wonder if there may be something wrong with a typo or something in the tutorial. I would greatly appreciate any help anyone is willing to give me. Sincerely, Bud