纪念Java经典的SandBox概念
2004-11-08 21:03
701 查看
sandbox
| |
转自:http://www.webopedia.com/TERM/S/sandbox.html 虽然现在内容丰富了很多,也不再局限于applet,但是原汁原味的sandbox,仍然值得回味。 The Java sandbox relies on a three-tiered defense. If any one of these three elements fails, the security model is completely compromised and vulnerable to attack: byte code verifier -- This is one way that Java automatically checks untrusted outside code before it is allowed to run. When a Java source program is compiled, it compiles down to platform-independent Java byte code, which is verified before it can run. This helps to establish a base set of security guarantees. applet class loader -- All Java objects belong to classes, and the applet class loader determines when and how an applet can add classes to a running Java environment. The applet class loader ensures that important elements of the Java run-time environment are not replaced by code that an applet tries to install. security manager -- The security manager is consulted by code in the Java library whenever a dangerous operation is about to be carried out. The security manager has the option to veto the operation by generating a security exception. |
相关文章推荐
- java基础概念经典题目汇集
- JAVA经典题目,对理解概念很有意思(自己总结)
- Javaweb 相关概念经典总结(一)
- 成为Java高手的25个学习目标--经典
- 【Leetcode】经典的Jump Game in JAVA
- 深入理解Java:注解(Annotation)基本概念
- java多线程概念和原理
- Java新手入门需要掌握的30个基本概念
- Java基本概念:集合类(Collection)List/Set/Map... 的区别和联系
- java学习笔记-理解封装的概念
- Java核心编程五:泛型概念
- java入门教程-8.1Java输入输出(IO)和流的基本概念
- Java反射经典实例 Java Reflection Cookbook
- 第一章 基本概念---进入Java的世界
- java中的一些基本概念辨析(初学者必看)
- 常见(经典)程序练习题(含算法,c答案,java答案)
- java--100个Java经典例子(1-10)初学者的利器高手的宝典JavaSE
- Java学习的随笔(一)对象概念、this指针、权限修饰符
- 【LeetCode-面试算法经典-Java实现】【056-Merge Intervals(区间合并)】
- Java经典实例:把字符串解析为日期时间