Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java
by David Coffin
Java Virtual Machine Sandbox
We have already explored the JVM and seen that it is the interface between the compiled Java byte code and the particular machine hardware and operating system where it is running. This gives Java byte code the ability to “run anywhere”—anywhere there is a JVM, that is.
In addition to lending portability, the JVM can enhance security by establishing a runtime security sandbox. The sandbox is a set of rules that apply to all Java code running in the JVM. In most cases where a security policy is in effect, these rules prevent the Java code from reading from or writing to the hard drive, and from opening network connections. When the JVM is running in a browser (like Internet Explorer or FireFox), the Java code (usually ...
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