Skip to content

Commit

Permalink
Enable authentication by default in jupyter-server (#2288)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Villa <[email protected]>
  • Loading branch information
krassowski and marcelovilla authored Jun 27, 2024
1 parent fdce240 commit 85849a3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

# Extra config available at:
# https://zero-to-jupyterhub.readthedocs.io/en/1.x/jupyterhub/customizing/user-management.html#culling-user-pods

# Refuse to serve content from handlers missing authentication guards, unless
# the handler is explicitly allow-listed with `@allow_unauthenticated`; this
# prevents accidental exposure of information by extensions installed in the
# single-user server when their handlers are missing authentication guards.
c.ServerApp.allow_unauthenticated_access = False

# Enable Show Hidden Files menu option in View menu
c.ContentsManager.allow_hidden = True
c.FileContentsManager.allow_hidden = True
Expand Down

0 comments on commit 85849a3

Please sign in to comment.