[IPython-dev] notebook with password authentication

Chris Kees cekees at gmail.com
Thu Oct 13 12:41:41 EDT 2011


Thanks! It's working with ssl now.
On Oct 13, 2011, at 11:10 AM, Satrajit Ghosh wrote:

> hi chris,
> 
> thanks. i've now added an issue which will extend the documentation.
> 
> indeed there is vary basic authentication available and is highly recommended to do this over an SSL connection. for security reasons this password cannot be provided on the command line and has to be encoded in the notebook config file.
> 
> here is the relevant section from my ipython_notebook_config.py
> 
> the documentation for creating the certificate file is on the web.
> 
> http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html
> 
> ---
> # The full path to an SSL/TLS certificate file.
> c.IPythonNotebookApp.certfile = u'/users/satra/mycert.pem'
> 
> # The FQDN or IP for WebSocket connections. The default will work fine when the
> # server is listening on localhost, but this needs to be set if the ip option is
> # used. It will be used as the hostname part of the WebSocket url:
> # ws://hostname/path.
> c.IPythonNotebookApp.ws_hostname = 'fullname.mit.edu'
> 
> # The IP address the notebook server will listen on.
> c.IPythonNotebookApp.ip = '*'
> 
> c.IPythonNotebookApp.password = u'password'
> ---
> 
> cheers,
> 
> satra
> 
> 
> 
> On Thu, Oct 13, 2011 at 12:02 PM, Chris Kees <cekees at gmail.com> wrote:
> Did I understand correctly that the notebook can be configured to
> require a password? If so, could somebody point me to the
> documentation on how to do that? I can't seem to find the correction
> option to add to my 'ipython notebook' command. -Chris
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20111013/9a9c26aa/attachment.html>


More information about the IPython-dev mailing list