Writing a File
writing a file from a Java applet. Your script cannot write files
itself; it should call a Java applet's public method which will
actually do all the dirty file writing work for you.
The bad news is that
Therefore, nobody publishes scripts that write files via signed
applets, although in versions 4 of both major browsers it's
- Writing is a privileged operation, and therefore your Java
applet must be digitally signed in order to write files.
- Applet signing for Internet Explorer is completely different
from applet signing for Netscape Navigator.
- Signed applets may not work properly in Netscape Navigator
- What's the worst, it's very insecure to put privileged
operations in public methods of signed applets! If you
publsh such an applet, a malicious code could easily subvert the
applet's public methods, and you (the applet
publisher/signer) will be sued for any damage!