Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Password protect a SPECIFIC Jupyter notebook

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?

like image 646
abalter Avatar asked Jun 16 '17 04:06

abalter


People also ask

Can you password protect jupyter notebook?

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.

How do you store credentials in jupyter notebook?

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.

What does %% capture do?

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.

Is jupyter notebook confidential?

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.


1 Answers

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.

like image 130
Roland Weber Avatar answered Nov 05 '22 17:11

Roland Weber