Skip to content

Add a security manager to the Sandbox class to prevent file access #15

Closed
@irufus

Description

@irufus

For example, you should be able to prevent calls like
!jshell java.util.Arrays.toString(new java.io.File(".").listFiles());
OR
!jshell java.util.Arrays.toString(new java.io.File("/home/").listFiles());
from listing files on the system that it is running on.

We would need to add this option to the example configuration file. bot.properties.example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions