java 沙箱_java – 什么是原生沙箱?

Native sandBox is available on Windows platform only.

Native sandBox can be enabled or disabled through Java Control Panel->Advanced settings->Enable the operating system’s restricted environment (native sandBox) or by setting deployment.security.use.native.sandBox property to true in deployment.properties file.

Native sandBox is disabled by default.

When native sandBox is enabled,the sandBox applets or web-start applications will run in a restricted environment,that is provided by the operating system. This will not affect the all-permission applications and they will continue to run as before.

Native sandBox will be disabled for applications included the in Exception Site List (ESL) or when Deployment Rule Set (DRS) is used.

SandBox applets deployed with HTML applet tag which includes all-permissions JAR files from the Class-Path manifest attribute,will run in native sandBox.

In such cases,a special warning dialog will display,informing the user that the applet may not work properly,when such an applet tries to access the all-permission JAR files.

Custom preloader will be disabled in certain cases when native sandBox is enabled:

Custom preloader will be disabled when sandBox applets or web-start applications are initializing and the default preloader will be used instead. After application is initialized,Java VM restarts with native sandBox enabled and the custom preloader will be used.

For all-permission applications,custom preloader will be disabled if it is located in the JNLP file with sandBox permission,until user agrees to run application from the Security Dialog,which grants unrestricted access (privileged) to application.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值