The docs describe how to create a password to protect your jupyter notebooks. I would like to be able to create and share a particular notebook with a special password for just that notebook. Is this possible?
Automatic Password setup Starting at notebook version 5.0, you can enter and store a password for your notebook server with a single command. jupyter notebook password will prompt you for your password and record the hashed password in your jupyter_notebook_config.
The easiest and most convenient solution is creating a config file in the root directory of the project that stores these values locally, and making sure that you add it to the . gitignore file to avoid accidentally uploading it.
Capturing Output With %%capture IPython has a cell magic, %%capture , which captures the stdout/stderr of a cell. With this magic you can discard these streams or store them in a variable. By default, %%capture discards these streams. This is a simple way to suppress unwanted output.
Jupyter Notebooks are, by default, only accessible from the computer they're running on. So if you're using a laptop and start a notebook up you'll be the only person who can access it.
No, it is not possible. The password protects the whole Jupyter server. Once somebody has logged into the server, there's nothing that could stop them from accessing all of the notebooks stored in the file system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With