3 ms·
How do you safely run untrusted user code? Thanks for building this. (Won't use it personally as being a pro developer I'd always use my existing cloud provid
by bluelightning2k 4y ago
How do you safely run untrusted user code?
Thanks for building this.
(Won't use it personally as being a pro developer I'd always use my existing cloud provider)
- z3t4 4y agoIn nodejs you can use the vm module. And for extra layers you can run node itself in a linux namespace aka container. Inside a VPS that has selinux. On a dedicated server with no LAN access besides the gateway. In a fireproof datacenter.
- theochampion 4y agoGood question! We use the Deno (https://deno.land https://deno.land) runtime which comes with built it permissions mgmt
- theochampion 4y agoIf we were to support more runtimes, I think I'd go for Firecracker (https://github.com/firecracker-microvm/firecracker/ https://github.com/firecracker-microvm/firecracker/) which is what AWS uses for lambdas