Skip to content

Limiting JS Access #64

Answered by ialex32x
TheyAreWaiting asked this question in Q&A
Discussion options

You must be logged in to vote

GodotJS doesn't have such abilities for now. You can do almost anything exposed to the scripting layer in the Godot engine, like the gdscript. Maybe it's better to encrypt the pck files if you don't want others to modify them.

So far, sandbox isn't a planned feature. But some features are planned to be added in future versions which may help to improve this kind of security

  • excluding some classes that are not allowed to be used in the shipping game
  • support for JS minify/obfuscator tools (webpack/gulp)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheyAreWaiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants