Skip to content

Commit

Permalink
Fix documentation titles
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Jan 17, 2025
1 parent b59633d commit 2cf7546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nbgrader/docs/source/configuration/jupyterhub_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ As explained above in the warning, ``jupyterhub>=4.1`` does not allow iframe for
reason, which lead a blank panel instead of the ``formgrader`` UI.

Opening the ``formgrader`` UI in a new browser tab
--------------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Web browsers allow to open iframe in a new browser tab, which allow using the ``formgrader``
without any additional setting.
Expand All @@ -368,7 +368,7 @@ Although this solution isn't the most practical, it does allow to use ```formgra
without having to update the configuration and without adding vulnerabilities to the application.

Enabling JupyterHub subdomains
------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Enabling per-user and per-service subdomains with ``JupyterHub.enable_subdomains = True``
allows to securely use iframes with JupyterHub.
Expand All @@ -387,7 +387,7 @@ In this case, the ``"frame-ancestor 'self'"`` can be restored in the application
in e.g. ``/usr/local/etc/jupyter/jupyter_server_config.py``.

Trusting users (less secure)
----------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If you trust users and are aware of the security vulnerability, it is also possible to
enable the iframe with the same configuration as above without subdomains.
Expand Down

0 comments on commit 2cf7546

Please sign in to comment.