Skip to content

Commit 5dc7aca

Browse files
brichetminrk
andcommitted
Include PR suggestions
Co-authored-by: Min RK <[email protected]>
1 parent a265d80 commit 5dc7aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nbgrader/docs/source/configuration/jupyterhub_config.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ Enabling JupyterHub subdomains
375375

376376
Enabling per-user and per-service subdomains with ``JupyterHub.enable_subdomains = True``
377377
allows to securely use iframes with JupyterHub.
378-
Then, even if embedding in an IFrame is allowed, the host page does not have access to the
379-
contents of the frame.
378+
With subdomains enabled, `frame-ancestors 'self'` allows embedding the iframe only on pages
379+
served by the user's own server.
380380

381381
In this case, the ``"frame-ancestor 'self'"`` can be restored in the application:
382382

0 commit comments

Comments
 (0)