Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: sandbox Clear Filter

How easy is it for a developer to "sandbox" a program?

# source code sandboxing Sandboxing is when a developer limits available system resources to a program from within its own source code. A classic example is calling chroot(2) to change the root file-system to an empty directory so that the program cannot scribble into the root file-system. int main(void) { /* Program has full file-system access. */ chroot("/var/empty"); chdir("/"); /* File-system root re-rooted in /var/empty. */ int fd = open("/etc/passwd", O_RDONLY); /* Tried to open /var/empty

Whatever Happened to Sandboxfs?

Back in 2017–2020, while I was on the Blaze team at Google, I took on a 20% project that turned into a bit of an obsession: sandboxfs. Born out of my work supporting iOS development, it was my attempt to solve a persistent pain point that frustrated both internal teams and external users alike: Bazel’s poor sandboxing performance on macOS. sandboxfs was a user-space file system designed to efficiently create virtual file hierarchies backed by real files—a faster alternative to the “symlink fore