English 中文(简体)
• 如何限制方案资源+JV/OSGi的权利?
原标题:How to restrict program resources + rights in JVM/OSGi?

我想建立一个网站,让人们能够解决方案拟定任务,并最终上载解决办法(无论用哪一种证书-语言),以便核实并与其他人分享。

页: 1 (现在学习)可能是处理这项任务的一个良好工具(如果是?)。 但是,我很想让其他人在我的东道国执行他们的守则(以前,一种投入/基于产出的解决办法是别的)。

因此,我估计我需要找到。

a>如何允许/限制某些规定 贾瓦功能(例如,开始透镜、发送邮件、撰写档案等)

以及

b) 如何限制CPU/RAM的专用资源,这样,任何人都不可能以无休止的方式使东道国落下。

任何建议?

最佳回答

b) 我认为,最安全的解决办法是,为每个用户提交的解决办法设立专门的联合核查机制。 这样,你就掌握了所有运行系统的工具。

a) Java功能可使用Permissions 。 我从未尝试过与它做些细致的工作,但为第三党的投入制定坚实的政策无疑是微不足道的。 或许可以帮助谷歌应用。 我怀疑,它正在利用许可在当地采取戒律。

问题回答

暂无回答




相关问题
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 ...

热门标签