next up previous
Next: Scenarios Up: Analysis Previous: Writing Secure Libraries

Implementation

In analyzing the effectiveness of Java security, it is necessary to check if there are adequate methods of controlling each of the resources specified in Section 2.1.

The control of a few of these resources stand out. First, the current SecurityManager does not have a method for controlling the creation of top level windows (aside from forcing them to be marked as unsafe), or control of what can be displayed or played back audibly. Second, there is no mechanism for controlling an Applet's access to user input. There are certainly situations it would be desirable to have a more specific security policy regarding various input devices. Finally, an Applet can currently allocate an arbitrary amount of memory by creating new objects. The problem of allocating memory is difficult because it does not provide a very direct threat; there is no single operation or set of operations that can be controlled. The problem is not horrible since the browser can limit the amount of memory available to Java. The browser could also provide a method of killing the current Java Applet, causing the memory to be recovered.





next up previous
Next: Scenarios Up: Analysis Previous: Writing Secure Libraries




Thu Dec 7 18:26:21 EST 1995