Essential Points

Downloaded code, such as applets running in a browser, are generally limited by default in the following ways:

  • Downloaded classes have no access to the file system. This precludes reading, writing, modifying, or deleting files, reading directory hierarchies, and determining incidental file system information such as the number of files, date and time stamps, file sizes, and file owners.

  • Downloaded classes have restricted access to other threads, so the downloaded code cannot block or kill other threads. However, deadlock conditions might still be engineered and, on some host operating systems, threads might make excessive use of the CPU.

  • Downloaded classes have restricted access to the I/O system so, for example, they are neither ...

Get Sun Certified Enterprise Architect for J2EE™ Technology Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.