TLDR Web Dev · MISCELLANEOUS
SOURCE CODE SANDBOXING
Summary from the TLDR Web Dev newsletter
It's easier than expected to implement source code sandboxing, which limits a program's access to system resources, across various operating systems and languages in 2025. This article goes over tools like seccomp, landlock, seatbelt, Capsicum, pledge, JSM, secmodel, and privileges, analyzing the complexity of their documentation and implementation through code examples and a case study of OpenSSH. The findings suggest OpenBSD's pledge has seen the most success due to its simplicity, while Linux's seccomp is considerably more complex.