Java Security FAQ: Try to run another program


Here's an applet that tries to run the UNIX program "cat" on the file "/etc/passwd":

Here's the source.

Conclusion:

An applet can't cause another program to start running on your underlying computer, unless you load that applet from your local computer, from a directory that is on your CLASSPATH.


Back to the Java Security FAQ