Skip to content

Plugin permissions #4352

Closed Answered by Nerixyz
Mm2PL asked this question in Q&A
Feb 1, 2023 · 4 comments · 3 replies
Discussion options

You must be logged in to vote

Before #4341 is anywhere near getting merged, we must decide what kind of threat model are we going to use for Plugins. Mainly:

  • Should we limit functionality to protect the user and if so how much? (totally disabling certain libraries that can for example execute native code or read/write files)

Yes, we should limit functionality. I think a model similar to how Deno does it for Javascript or how it's done in web-extensions is good. There's info on built-in Lua functions related to sandboxing on lua-users.org and more info on sandboxing considerations for Roblox in Luau.

Permissions could be similar to how they're currently done. I would rename the permissions and give it an entry (one…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Mm2PL
Comment options

Mm2PL Feb 1, 2023
Collaborator Author

@Nerixyz
Comment options

@LosFarmosCTL
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Mm2PL
Comment options

Mm2PL
Mar 1, 2024
Collaborator Author

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