On Jun 22, 2010, at 2:22 AM, ma...@mendelu.cz wrote:

On 22 čvn, 02:29, Ralf Hemmecke <hemme...@gmail.com> wrote:
Thanks.

Looks like I rather want to use localhost. But I need it for about 20
users. What options do I have to give to "sage -notebook"?


1. Run sage inside virtual machine. Do not put your private ssh keys
into this machine. Do not install important data there and make a
backup copy.

2. I use the following command:
notebook(address='',secure=False, accounts=True, open_viewer=False,
server_pool=['sageu...@localhost'],directory='/opt/dotsage/
sage_notebook', timeout=2000, ulimit="-v 300000")
and port forwarding in apache2.conf . Perhaps, do not use secure=False
as me.

And see

sage: notebook?

for more documentation and explanation for those options.

3. If you do not want to use virtual machine, at least do not run sage
notebook under you account!

If you somewhat trust the 20 or so users, you can set accounts=True, make their accounts, then set account=False before publishing so random people won't be able to join. If you trust these people enough to given them an user login to your machine, the extra complexity of a virtual machine shouldn't be needed (just make a sageuser account with limited permissions).

- Robert

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

Reply via email to