[IPython-User] Notebook as a Wiki

Matthias Bussonnier bussonniermatthias@gmail....
Mon Dec 31 12:51:40 CST 2012


Scott,

With the current logic, there is no password checking when the
notebook is in read-only mode.
So it's kind-of expected.

It shouldn't be too hard to modify, it's a question of changing the
'AuthenticateUnlessReadonly' decorator IIRC.
-- 
Matthias




On Mon, Dec 31, 2012 at 7:34 PM, Burns, Scott S
<scott.s.burns@vanderbilt.edu> wrote:
> Brian -
>
> Is it possible to password-protect read-only servers? In my config file, I
> have a password set for c.NotebookApp.password and c.NotebookApp.read_only
> is set to True. When I open the URL for the server, no password is
> required. If this is expected behavior, is there a way to absolutely
> require a password, regardless of read-only status?
>
> Scott
>
> On 12/13/12 9:07 PM, "Brian Granger" <ellisonbg@gmail.com> wrote:
>
>>I can't think of any fundamental reason this wouldn't work, but you
>>are probably going to have to dive into the code and do some
>>customizations.
>>
>>Cheers,
>>
>>Brian
>>
>>On Thu, Dec 13, 2012 at 7:09 AM, Burns, Scott S
>><scott.s.burns@vanderbilt.edu> wrote:
>>> I'm trying to think through using the ipython notebook as a lab wiki.
>>>Here's
>>> what I've come up with so far:
>>>
>>> Have on canonical directory for all of the notebooks
>>>(version-controlled,
>>> backed up, etc).
>>> Start one notebook server in password-protected, read-only mode with the
>>> notebook directory set to the directory mentioned above. This would be
>>> routed to https://[webserver]/notebook using Massimo's frame trick (see
>>>the
>>> Notebook and Apache thread a few weeks back).
>>> Have another notebook server that's password-protected but has
>>>write/execute
>>> status, routed to https://[webserver]/notebook-edit, working on the same
>>> directory.
>>>
>>> Everyone in the lab has access to the read-only mode and only the
>>>members I
>>> trust can get the password to edit the notebooks. Is there any reason
>>>this
>>> wouldn't work? Has anyone else done something similar? Thanks for any
>>> thoughts and ideas.
>>>
>>> Scott
>>>
>>> _______________________________________________
>>> IPython-User mailing list
>>> IPython-User@scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-user
>>>
>>
>>
>>
>>--
>>Brian E. Granger
>>Cal Poly State University, San Luis Obispo
>>bgranger@calpoly.edu and ellisonbg@gmail.com
>>_______________________________________________
>>IPython-User mailing list
>>IPython-User@scipy.org
>>http://mail.scipy.org/mailman/listinfo/ipython-user
>>
>
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user


More information about the IPython-User mailing list