Site hosted by Angelfire.com: Build your free website today!
 

Security Restrictions

Applets are said to live in a sandbox. Living in the sandbox imposes the following security restrictions:

  • Applets cannot run any executable code on the local machine.

  • Applets can neither read nor write to the file system on the local machine.

  • Applets can only establish network connections with the host which they were downloaded.

  • All windows that pop up from an applet have a warning message that alerts users not to enter sensitive information.

The restrictions are enforced by a SecurityManager class instance on the browser. Each browser may have different security restrictions.