国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

紀(jì)念Java經(jīng)典的SandBox概念

2019-11-18 11:26:04
字體:
供稿:網(wǎng)友

sandbox Last modified: Monday, September 30, 2002 

轉(zhuǎn)自:http://www.webopedia.com/TERM/S/sandbox.Html
雖然現(xiàn)在內(nèi)容豐富了很多,也不再局限于applet,但是原汁原味的sandbox,仍然值得回味。
A security measure in the java development environment. The sandbox is a set of rules that are used when creating an applet that PRevents certain functions when the applet is sent as part of a Web page. When a browser requests a Web page with applets, the applets are sent automatically and can be executed as soon as the page arrives in the browser. If the applet is allowed unlimited access to memory and Operating system resources, it can do harm in the hands of someone with malicious intent. The sandbox creates an environment in which there are strict limitations on what system resources the applet can request or access. Sandboxes are used when executable code comes from unknown or untrusted sources and allow the user to run untrusted code safely.

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.



發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 信宜市| 阳城县| 会东县| 洛浦县| 育儿| 奈曼旗| 韩城市| 汕头市| 石城县| 万年县| 木兰县| 驻马店市| 漯河市| 赣州市| 恩平市| 广昌县| 建德市| 呼伦贝尔市| 丰都县| 嘉祥县| 阜新市| 乐东| 大庆市| 镇康县| 虹口区| 平乐县| 西盟| 曲阳县| 高碑店市| 同江市| 呈贡县| 广元市| 重庆市| 蚌埠市| 安徽省| 崇礼县| 崇礼县| 青铜峡市| 凌海市| 乌海市| 瑞昌市|