4 ms·
It'd be great to have more discussion how to build applications to be exposed like this, especially the security aspect; what sort of sandboxing to use etc to m
by zokier 7y ago
It'd be great to have more discussion how to build applications to be exposed like this, especially the security aspect; what sort of sandboxing to use etc to minimize attack surface. Basically how to avoid giving users shell, and how to restrict what they can do even if they did gain code execution of some sort.
The web application security practices are pretty well known and lot of that does apply here too. But lot is different too, crucially I imagine each user session is it's own process which means you can apply more OS level primitives to them. chroot would be an obvious example, but there is tons of more things available.
- CameronNemo 7y agoYes all container technologies are at play, including namespaces, cgroups (for resource quotas), seccomp, Linux Security Modules, and probably some odds and ends I am forgetting. Of course e.g. FreeBSD is a different bag.