Sanboxing
Sanboxing
Posted Feb 2, 2010 18:52 UTC (Tue) by drag (guest, #31333)In reply to: Sanboxing by mjthayer
Parent article: Security in the 20-teens
I can setup a LXC container as root that then can be safely used by users.
This is done through Linux file capabilities and does not require any
setuid programs or anything to be done.
It's as simple as running 'debootstrap' in a directory, installing firefox
into it, and then setting up a lxc configuration.
From then on users can execute firefox from that environment, using their
own UIDs and such, and have the output passed to Xephyr or to their own X
server.
I've done it. It works, it is fast, and unlike chroot it does not require
root rights and is designed for security. It has various levels of
isolation you can setup.
Unlike SELinux it's easy to understand and for mortals to understand.