Non-trusted mode? #1660
-
Hello, I think the execution barrier feature recently introduced (see #985) enables an interesting new feature: safely opening non-trusted notebooks. The current behavior when opening a notebook is to run it all. This is perfectly fine for notebooks I wrote. But when I get a notebook online, I don't feel comfortable running it right away (it could contain malicious code, or simply take a very long time to run), so I first skim it in a text editor. The proposed new default behavior would be something like this:
I think this behavior would make sense as the default, so users will always have a chance to think twice before running a potentially non-trustworthy notebook. That said, it would also be convenient to have an option to start Pluto with this feature disabled, for when the user knows they will only open their own notebooks and don't want to be interrupted by the pop up every time (maybe something like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
See also: #1344 |
Beta Was this translation helpful? Give feedback.
-
Hi! See also #259, my plan was to implement it exactly as you suggested, but between 2 and 3, you can read the notebook code. Instead of a popup, the button stays there while you read. I think your suggested solution would be fast to implement (like you say, popup and barrier are already built in) but we should do something nicer! |
Beta Was this translation helpful? Give feedback.
Hi! See also #259, my plan was to implement it exactly as you suggested, but between 2 and 3, you can read the notebook code. Instead of a popup, the button stays there while you read.
I think your suggested solution would be fast to implement (like you say, popup and barrier are already built in) but we should do something nicer!