[IPython-dev] Using IPython notebooks to teach Python

Sébastien Hinderer Sebastien.Hinderer at inria.fr
Thu Aug 21 10:55:24 EDT 2014


Dear all,

My team currently studies the possibility to use IPython notebooks in a
Python Mooc, more precisely for doing exercises. Teachers would prepare
the questions in a notebook and students could answer the questions
directly in the notebook itself. Actually, we would provide one copy of
the original teacher's notebook for each student, so that all of them have
their own notebook on which they can work independently.

What I'm trying to study here is the server's security. How to prevent
students from both doing malicious things on the server and accessing /
modifying the notebooks of other students.

Regarding the access to the server, we believe that we can secure things
with AppArmor. Has such a thing aleady been done? Does anybody have
experience in this area? Any help here would be greatly appreciated.

What we really don't know how to do is protecting students from
each other. Would it be possible to somehow run one kernel per student
so that each kernel could have a different AppArmor profile associated
with it? Can you think of any other approach we could use, here?

Many thanks in advance for any comment, remark or suggestion.

Sébastien.





More information about the IPython-dev mailing list