Java Security Example: Writing Files
Here's an applet that tries to write to the file
/tmp/foo
on a Solaris system (or to the file
C:\tmpfoo
on a Windows system.)
and here's the
source
.
This applet is a signed applet.