ipython/ipython — Issue #867: doc: notebook password authentication howto
Author: satra
Created: 2011-10-13 16:09:48+00:00
State: open

need to add the following info to the docs.

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'
---