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

Option to run Deno with minimal privileges #145

Open
SergioMartinSanchez opened this issue Aug 3, 2023 · 1 comment
Open

Option to run Deno with minimal privileges #145

SergioMartinSanchez opened this issue Aug 3, 2023 · 1 comment

Comments

@SergioMartinSanchez
Copy link

Hello! First of all, congratulations on this runtime, it's a gem.
I was wondering if it would be possible to add an option to run functions with minimal privileges. In our case, we want the functions to not have permission to access the network, or only have access to a few specific domains.
Best regards and thanks!

@TooTallNate
Copy link
Collaborator

Hi! Currently the --allow-all is hard-coded, but I would be open to a pull request making it configurable.

Note though that the Lambda Runtime API requires access to the HTTP server located at the value container in env var AWS_LAMBDA_RUNTIME_API, so that will need to always be allowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants