Domanda

I want to build ipython-notebook playground environment for colleagues, but it seems can't prevent one people delete another one's file in ipython-notebook. Like,

!rm <aaa's file>

Could I have some way to prevent this to happen?

EDIT: and it also can rm other files...even at other place...

Should I add a new user for ipython-notebook if I want to open it to others?

È stato utile?

Soluzione

There's a way to give people read-only access to the notebook, but if you want them to run code, they can do anything that the OS allows them to. So yes, you need to use OS-level security mechanisms, like user accounts or virtual machines.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top