Hi Peter,

On Thu, Jul 23, 2009 at 1:35 AM, Peter<morape...@gmail.com> wrote:
>
> Dear Sage Developers!
>
>
>  We would like to set up a Sage Notebook server for the students, in a
> secure way. How can we do that?
>
>  For example if on www.sagenb.org I write
>
> {{{
> %sh
> cat /home/sage/sagenb/sage_notebook/worksheets/any_user_name/0/
> worksheet.txt
> }}}
>
> then I can see the content of other users' first worksheets. I didn't
> try it, but I'm sure I could do damage by deleting files or stoping
> processes (whoami says that I'm user 'worksheet', I assume like
> everbody else is).
>
>  I think it would be fine if we could associate logins with linux
> logins, so every user would run codes under his/her own account. This
> would not allow users to delete other users' files.
>
>  If every user starts his/her own Sage server with notebook(), then
> it's a waste of memory, they get and error about using the same port
> (they should choose a port at random), and they couldn't share
> worksheets with each others, etc. I think that's not a solution.
>
>
>  Any ideas?

Try this from the Sage command line:

sage: notebook(secure=True)

-- 
Regards
Minh Van Nguyen

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to