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

Can I grant/deny permissions to specific (external) modules? #7698

Closed
nekdolan opened this issue Sep 26, 2020 · 1 comment
Closed

Can I grant/deny permissions to specific (external) modules? #7698

nekdolan opened this issue Sep 26, 2020 · 1 comment
Labels
duplicate a duplicate of another issue

Comments

@nekdolan
Copy link

If not I would like to request this feature.

Given the fact that npm modules have been hacked before and that I/we will use modules from the registry it would be nice if we could reduce the threat of these modules and only give permissions to each module if necessary.

If this is possible I would suggest a new parameter like --block-external which would deny all given permissions from cached/external modules and than each permission could be extended by a list that would come after it.

I don't really know if this is feasible.
Btw good job on Deno! Its pretty cool so far.

@nekdolan nekdolan changed the title Can I grant permissions to specific (external) modules? Can I grant/deny permissions to specific (external) modules? Sep 26, 2020
@kitsonk kitsonk added the duplicate a duplicate of another issue label Sep 26, 2020
@kitsonk
Copy link
Contributor

kitsonk commented Sep 26, 2020

Duplicate of #171 #410 (and others)

@kitsonk kitsonk closed this as completed Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants