Skip to content

Restrict what Java functions can be called from Lisp #693

@Burkino

Description

@Burkino

So I'm thinking of using ABCL as a simple scripting language inside of a Minecraft mod. Since all the text is user controlled (and possibly running on a public server) I'm sure you can see why allowing jcall and jstatic would be a bad idea.

My questions are:

  1. How do I give ABCL the least amount of privilege? It shouldn't be able to do whatever it wants with Java, it shouldn't be able to get any information about the system.
  2. How do I add my own symbol to ABCL, the docs talk about converting Java objects to Lisp values which sounds right, but I might be misunderstanding.

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