Replies: 1 comment 1 reply
-
In the workerd config file, you can declare multiple services, each running different code. You can fully control whether a service has access to the outside world. In particular, you can disable access to the internet by overriding So you can have one service that acts as a "supervisor" and has access to the internet, but forwards requests to some other service that doesn't. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m trying to understand if it’s possible to dynamically define new functions/workers with different access than the “main” function? Like a main function that’s allowed full access, but spawning workers on demand that have basically zero access, including network.
The use case I’m exploring is an internal facing platform which provides baked in tooling to support many internal use cases, like our bespoke authentication and service to service request signing.
Beta Was this translation helpful? Give feedback.
All reactions