Jinter icon indicating copy to clipboard operation
Jinter copied to clipboard

Prevent all function calls except authorized?

Open canadaduane opened this issue 2 years ago • 2 comments

Question

I'm curious if Jinter might be a candidate for sandboxed javascript execution. For example, is there a way to configure it to not allow any functions to be called, except those on an allow list?

Other details

No response

Checklist

  • [X] I am running the latest version.
  • [X] I checked the documentation and found no answer.
  • [X] I have searched the existing issues and made sure this is not a duplicate.
  • [X] I have provided sufficient information.

canadaduane avatar Nov 25 '22 07:11 canadaduane

Question

I'm curious if Jinter might be a candidate for sandboxed javascript execution. For example, is there a way to configure it to not allow any functions to be called, except those on an allow list?

Definitely yes. But I don't think the library is mature enough to be used as a sandboxed js interpreter yet.

LuanRT avatar Dec 09 '22 23:12 LuanRT

Any thought as to when?

jsProj avatar Sep 11 '24 22:09 jsProj