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

Prevent all function calls except authorized? #1

Open
4 tasks done
canadaduane opened this issue Nov 25, 2022 · 2 comments
Open
4 tasks done

Prevent all function calls except authorized? #1

canadaduane opened this issue Nov 25, 2022 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@canadaduane
Copy link

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

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.
@canadaduane canadaduane added the question Further information is requested label Nov 25, 2022
@LuanRT
Copy link
Owner

LuanRT commented Dec 9, 2022

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 LuanRT added the enhancement New feature or request label Dec 9, 2022
@jsProj
Copy link

jsProj commented Sep 11, 2024

Any thought as to when?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants