Java Security Example: Writing Files


Here's an applet that tries to write to the file d:\foo.txt on a OS/2 system (or to the file named "tmpfoo" on a Windows 95 or Windows NT system.)

Here's the source.

This applet is signed by dehua - if you've configured your system to allow applets signed by dehua to run, go and check your d:\ area! You'll find a file there named foo.txt, with an important message from dehua :-)


Back to the Java Security Page - Signed Applet Example