How Java Applet Deals with Security?
Java keeps a "firewall" between a networked application and the computer.
Java Achieves this protection with the help of a Java Compatible Web Browser by confining a Java Program to the Java Execution Environment and not allowing its access to the others parts of the Computer.