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 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.