Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable auto-running of freshly opened notebooks/Trusting notebooks #473

Closed
DhruvaSambrani opened this issue Sep 22, 2020 · 1 comment
Closed

Comments

@DhruvaSambrani
Copy link
Contributor

Jupyter has a "Trust" mechanism which prevents arbitrary code being run by a notebook.

Where is this necessary? Suppose I download a .jl notebook from some website, and the first cell has some malicious code which I definitely don't want to run.

A similar but different issue is when my first cell does something which blocks any changes being made to the notebook.
One contrived example is if there is an infinite loop in the first cell, then opening that book is impossible.

So a simple "Run Whole Book" button should be added which runs the whole book if the user wishes, and when opening, autorun does not happen.

@fonsp
Copy link
Owner

fonsp commented Sep 22, 2020

Thanks! Have a look here: #259

@fonsp fonsp closed this as completed Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants