Skip to content

How PF4J protect the application program from the bugs or panic errors of plugin code ? #516

Answered by decebals
zouxyan asked this question in Q&A
Discussion options

You must be logged in to vote

The idea is that you have to trust the loaded plugins. I'm working to a feature related security which prevents a plugin to work with files, sockets and other sensible resources. It's a kind of plugin sandbox but I think it's not what you are looking for.
I don't know if you can isolate completely a plugin from application or other plugins. If the plugin contains bugs or malicious code (depletes resources, ..) then the problem will be propagated to the application somehow. If it's a bug then the functionality added by plugin (via Extension) it will not be available in application, you will see the stacktrace and eventually you can disable the plugin.
Do you have any ideas related to how w…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zouxyan
Comment options

@decebals
Comment options

@zouxyan
Comment options

Answer selected by zouxyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants