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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access