Skip to content

Commit

Permalink
Fix Jupyter security note (#6818)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson authored Aug 2, 2022
1 parent 10b3450 commit 4f6960a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions distributed/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -3020,9 +3020,11 @@ def __init__(
{
"ServerApp": {
"base_url": "jupyter",
# SECURITY: in this context we expect this to be safe, as
# if a client can connect to the scheduler they can already
# run arbitrary code.
# SECURITY: We usually expect the dashboard to be a read-only view into
# the scheduler activity. However, by adding an open Jupyter application
# we are allowing arbitrary remote code execution on the scheduler via the
# dashboard server. This option should only be used when the dashboard is
# protected via other means, or when you don't care about cluster security.
"token": "",
"allow_remote_access": True,
}
Expand Down

0 comments on commit 4f6960a

Please sign in to comment.