ipython/ipython — pull request #1211 by minrk (2011-12-28 06:12:42+00:00)
Title: serve local files in notebook-dir

Files relative to the notebook-dir are available as `http://server:port/local/`, and can thus be used in Markdown/HTML, etc.

This grants total read access to the contents of the notebook-dir (assuming you already know what file you are looking for). One should be extra careful after this change, because if you run `ipython notebook` in your home dir, you can visit `http://localhost:8888/.ssh/id_dsa` to view the default location of your ssh private key, and various other potentially sensitive things.

Local file access is protected just like execution, so if you have a password set, you must login before you are able to view local files.