Java class loader security handling

情到浓时终转凉″ 提交于 2019-12-25 02:12:07

问题


It is said that class loader of java adds security to JRE , if its function is to load all of the classes how can it provide security to java,can you shed some light on this topic,any help is appreciated. I am talking about security from network sources,security from those classes imported from network.


回答1:


This link might help. Java can provide a "sandbox" environment which can be customized. It restricts class from accessing resources outside the sandbox.



来源:https://stackoverflow.com/questions/8545096/java-class-loader-security-handling

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!