本文主要是介绍纪念Java经典的SandBox概念,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
sandbox
| ||
虽然现在内容丰富了很多,也不再局限于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:
|
这篇关于纪念Java经典的SandBox概念的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!