Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一个加载插件的安全问题 #8

Open
TeddyLav opened this issue Oct 17, 2023 · 3 comments
Open

请教一个加载插件的安全问题 #8

TeddyLav opened this issue Oct 17, 2023 · 3 comments

Comments

@TeddyLav
Copy link

如果把这个热加载插件做成一个开放能力,插件由其他开发者提供,有没有安全机制可以控制插件代码的执行范围,类似沙箱机制,就算里面有恶意代码也不会影响操作系统和主程序运行,比如只能操作指定的操作目录,禁止高危函数等。

@stateIs0
Copy link
Owner

java 无法解决。。。。如果是 govvy 倒是可以

@reboot1921
Copy link

@stateIs0 请问插件类隔离,除了插件自定义类,还包括引入的依赖隔离,请问如何做到运行时加载插件而不影响主应用运行

@stateIs0
Copy link
Owner

stateIs0 commented Nov 6, 2023

@reboot1921 没太理解你的问题。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants