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

Set system property for security profile #111

Open
hallvard opened this issue Jun 2, 2020 · 0 comments
Open

Set system property for security profile #111

hallvard opened this issue Jun 2, 2020 · 0 comments

Comments

@hallvard
Copy link
Owner

hallvard commented Jun 2, 2020

A new version of PlantUML is recently published which introduce the notion of "Security Profile"
See https://plantuml.com/en/security

This is quite useless for the Eclipse Plugin, but this is necessary for web server hosting.
In some future, the default security level will be changed to INTERNET which may cause issues for the Eclipse Plugin because it will disable reading data from local file.

The solution is quite simple (you can even implement it now):
System.setProperty("PLANTUML_SECURITY_PROFILE", "UNSECURE");
However, you might allow users to change the security profile used by the Eclipse Plugin through some UI. Personally, I think that it makes no sense and that UNSECURE should be the default for such a plugin.

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

1 participant