[IPython-dev] Notebook kernels + LXC
Wed Oct 24 11:48:52 CDT 2012
A question on SO  got me thinking again about security in
multi-user cases. I've read recently about LXC , which provides
lightweight isolated environments for a set of processes.
Is there mileage in an option for the notebook server to start each
kernel in a new LXC container? That would give OS-level limitations on
what a remote user can do, without the overhead of running full
virtual machines. I imagine this could be paired with a way to share
access to a particular notebook or session, so a malicious user
getting access can only damage files in that project. It could
probably also be set up so that file access is read-only.
Of course, I may be on completely the wrong track. But the notebook is
clearly going to be used in cases where the 'all or nothing' access to
the underlying system is too coarse. Maybe this is one way to offer
More information about the IPython-dev