{% block title %}IPython Notebook{% end %}
-
-
-
-
+
+
+
+
{% block stylesheet %}
{% end %}
@@ -21,7 +21,7 @@
-
+
{% block login_widget %}
@@ -72,11 +72,11 @@
-
-
-
-
-
+
+
+
+
+
{% block script %}
{% end %}
diff --git a/IPython/frontend/html/notebook/templates/notebook.html b/IPython/frontend/html/notebook/templates/notebook.html
index ab160a1..11daece 100644
--- a/IPython/frontend/html/notebook/templates/notebook.html
+++ b/IPython/frontend/html/notebook/templates/notebook.html
@@ -15,20 +15,20 @@
window.mathjax_url = "{{mathjax_url}}";
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
-
-
-
-
+
+
+
+
+
{% comment In the notebook, the read-only flag is used to determine %}
{% comment whether to hide the side panels and switch off input %}
@@ -42,7 +42,7 @@
>
-
+
@@ -258,40 +258,40 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/IPython/frontend/html/notebook/templates/projectdashboard.html b/IPython/frontend/html/notebook/templates/projectdashboard.html
index d3036af..3dfc52b 100644
--- a/IPython/frontend/html/notebook/templates/projectdashboard.html
+++ b/IPython/frontend/html/notebook/templates/projectdashboard.html
@@ -5,7 +5,7 @@ IPython Dashboard
{% end %}
{% block stylesheet %}
-
+
{% end %}
{% block meta %}
@@ -38,6 +38,6 @@ data-base-kernel-url={{base_kernel_url}}
{% end %}
{% block script %}
-
-
+
+
{% end %}
diff --git a/docs/examples/notebooks/00_notebook_tour.ipynb b/docs/examples/notebooks/00_notebook_tour.ipynb
index dc99083..a62c2de 100644
--- a/docs/examples/notebooks/00_notebook_tour.ipynb
+++ b/docs/examples/notebooks/00_notebook_tour.ipynb
@@ -778,6 +778,45 @@
{
"cell_type": "markdown",
"source": [
+ "## Local Files",
+ "",
+ "The above examples embed images and video from the notebook filesystem in the output",
+ "areas of code cells. It is also possible to request these files directly in markdown cells",
+ "if they reside in the notebook directory via relative urls prefixed with `files/`:",
+ "",
+ " files/[subdirectory/]",
+ "",
+ "",
+ "For example, in the example notebook folder, we have the Python logo, addressed as:",
+ "",
+ " ",
+ "",
+ "",
+ "",
+ "and a video with the HTML5 video tag:",
+ "",
+ " ",
+ "",
+ "",
+ "",
+ "These do not embed the data into the notebook file,",
+ "and require that the files exist when you are viewing the notebook.",
+ "",
+ "### Security of local files",
+ "",
+ "Note that this means that the IPython notebook server also acts as a generic file server",
+ "for files inside the same tree as your notebooks. Access is not granted outside the",
+ "notebook folder so you have strict control over what files are visible, but for this",
+ "reason it is highly recommended that you do not run the notebook server with a notebook",
+ "directory at a high level in your filesystem (e.g. your home directory).",
+ "",
+ "When you run the notebook in a password-protected manner, local file access is restricted",
+ "to authenticated users unless read-only views are active."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "source": [
"### External sites",
"",
"You can even embed an entire page from another site in an iframe; for example this is today's Wikipedia",