I am using Jupyter on a [spark] cluster which has a public ip address. I want to make sure I am the only one that can see, change and basically has access to this notebook. How can I make this notebook whenever I open it to ask for some username/password by connecting it to PAM or something else?
You can configure Jupyter with a fixed password and HTTPS so you can expose it to the public internet and not let everyone in. Here are the docs for that.
If you want to connect it to separate authentication like PAM, there's a separate layer called Jupyterhub which can manage logins and starting notebook servers for logged in users.
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