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

Block file access outside instance dir #141

Merged
merged 5 commits into from
Mar 25, 2024
Merged

Block file access outside instance dir #141

merged 5 commits into from
Mar 25, 2024

Conversation

brachy84
Copy link
Member

No description provided.

@brachy84 brachy84 added enhancement New feature or request sandbox For internal changes to the sandbox labels Mar 22, 2024
@@ -181,6 +192,7 @@ public <T> T runClosure(Closure<T> closure, Object... args) {
return new AtomicInteger();
}).addAndGet(1);
} finally {
securityManager.uninstall();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fine for now, not sure if there are any drastic performance penalties.

Copy link
Collaborator

@WaitingIdly WaitingIdly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to work fine

@brachy84 brachy84 merged commit 4f9916d into master Mar 25, 2024
1 check passed
@brachy84 brachy84 deleted the files branch March 25, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sandbox For internal changes to the sandbox
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants