The Java Security Environment

Java was originally designed as a language for embedded systems, code that runs in environments where there may or may not be an operating system. This is part of the reason for Java's platform independence. Because of this, Java does not depend on any particular operating system for system security features. Java maintains security through its own set of facilities.

As we just mentioned in the previous section, system level security involves controlling access to such resources as the disk, any system peripherals and the network. Java controls access to these resources through a security manager (java.lang.SecurityManager) and an access controller (java.security.AccessController) which operate in the Java runtime ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.