English 中文(简体)
被拒绝进入(“java.io.FilePermission”“<filename>“read”)
原标题:access denied ("java.io.FilePermission" "<filename>" "read")

我在 Java利用框架记分,玩弄这个错误:

java.security.AccessControlExecption: access denied ("java.io.FilePermission" "scores.dat" "read")

Anyone have any idea how to fix this? I know that it is something to do with polices but I have never used them before so have no idea how to fix this. Any help would be greatly appreciated.

最佳回答

这意味着,一些企业已经与一位安全主管发起联合核查机制,他们要么禁止所有档案系统档案的开张,要么至少是反对开张。 为了解决这个问题,你需要阅读框架的来源或与作者讨论。 一旦安全主管到位,你可以做什么(我认为)。 当然,如果你控制联合核查机制的发射,你可能会改变把发射回头的活力。

评论表明,这是一本手册,因此你正在处理浏览器的安保管理政策。 你们需要用真实的证书签署杰尔,然后你可以给予更多的许可。 一般而言,小册无法进入档案系统。 我认为,你需要与平分的作者交谈。

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签