本地运行Applet或者.jnlp后缀名文件报权限问题错误
2014-04-16 14:19
381 查看
1、通过2种方法运行:直接在浏览器中运行、调用appletviewer。其中,applet查看器会忽略applet标记之外的所有HTML标记!
调用浏览器遇到的问题:
application blocked by security settings
Name: WelcomeApplet
From: file:/D:/corejava/v1/v1ch2/WelcomeApplet/
your security settings have blocked a local application from running
2、或者通过.jnlp文件download服务端Java程序
在控制面板程序中 找到Java---security将security level 设置为Medium
打开 控制面板 - Java (32bit) - Security,设置为Medium即可解决问题。
java官方描述权限:(http://www.java.com/en/download/help/jcp_security.xml)
Very High
This is the most restrictive security level setting. All the applications that are signed with a valid certificate and include the Permissions attribute
in the manifest for the main JAR file are allowed to run with security prompts. All other applications are blocked.
High
This is the minimum recommended (and
default) security level setting. Applications that are signed with a valid or expired certificate and include the Permissions attribute in the manifest for the main JAR file are allowed to run with security prompts. Applications are also allowed to run with
security prompts when the revocation status of the certificate cannot be checked. All other applications are blocked.
Medium
Only unsigned applications that request all permissions are blocked. All other applications are allowed to run with security prompts. Selecting the
Medium security level is not recommended and will make your computer more vulnerable should you run a malicious application.
更多:http://stackoverflow.com/questions/20967995/java-jnlp-application-blocked-by-security-settings
调用浏览器遇到的问题:
application blocked by security settings
Name: WelcomeApplet
From: file:/D:/corejava/v1/v1ch2/WelcomeApplet/
your security settings have blocked a local application from running
2、或者通过.jnlp文件download服务端Java程序
在控制面板程序中 找到Java---security将security level 设置为Medium
打开 控制面板 - Java (32bit) - Security,设置为Medium即可解决问题。
java官方描述权限:(http://www.java.com/en/download/help/jcp_security.xml)
Security levels in the Java Control Panel
Very High
This is the most restrictive security level setting. All the applications that are signed with a valid certificate and include the Permissions attribute
in the manifest for the main JAR file are allowed to run with security prompts. All other applications are blocked.
High
This is the minimum recommended (and
default) security level setting. Applications that are signed with a valid or expired certificate and include the Permissions attribute in the manifest for the main JAR file are allowed to run with security prompts. Applications are also allowed to run with
security prompts when the revocation status of the certificate cannot be checked. All other applications are blocked.
Medium
Only unsigned applications that request all permissions are blocked. All other applications are allowed to run with security prompts. Selecting the
Medium security level is not recommended and will make your computer more vulnerable should you run a malicious application.
更多:http://stackoverflow.com/questions/20967995/java-jnlp-application-blocked-by-security-settings
相关文章推荐
- 【TFS 2017】使用浏览器上传文件(TFVC)或者编辑代码,错误提示TF14098,需要对文件有PendChange 权限
- 解决IIS7虚拟目录出现HTTP 错误 500.19(由于权限不足而无法读取配置文件)的问题
- 解决python删除文件的权限错误问题
- Permission denied: win7下面eclipse上传本地文件到DFS && 运行M/R程序时出现的同样的错误解决方法
- A网站引用B服务器虚拟目录文件导致:网站部署到IIS7上出现HTTP 错误 500.19(由于权限不足而无法读取配置文件)的问题
- 网站部署到IIS7上出现HTTP 错误 500.19(由于权限不足而无法读取配置文件)的问题
- 无法升级数据库 'SchoolPlatForm1',因为它是只读的,或者具有只读文件。请将数据库或文件设为可写,然后重新运行恢复操作。 (Microsoft SQL Server,错误: 3415)
- 如何拿回被恶意或者不小心删除硬盘所有者权限而导致的文件访问以及修改权限被限制(NTFS格式安全权限问题)
- wpf 运行权限 解决不能写文件 创建文件夹问题
- VxWorks--FTP传输可执行文件运行错误问题
- win10系统刚开机或者运行某些软件时文件管理器新建、删除、重命名文件不刷新的问题解决
- 使用java命令运行class文件提示“错误:找不到或无法加载主类“的问题分析
- Learning Python 015 Python3解决问题:读取文件时,出现乱码或者“UnicodeDecodeError 'gbk' codec can't decode” 错误
- Flash Player8 ActiveX 读取本地中文文件夹文件错误问题
- eclipse中使用package导致applet嵌入html文件不可运行的问题
- JAVA APPLET读本地文件权限问题及解决办法
- 【转载】使用java命令运行class文件提示“错误:找不到或无法加载主类“的问题分析
- 在命令行界面使用java命令运行class文件提示“错误:找不到或无法加载主类“的问题分析
- 关于Applet利用数字签名获得本地访问权限的问题
- iis7针对不同域名配置不同运行权限,所有共用web.config产生的问题均可以修改根配置文件解决