Remove or disable download options in Jupyterhub

Hi, I would like to know how to remove or disable download options in jupyterhub. The reason is that I wanted to restrict users in downloading any confidential data to their local environment. Jupyterhub version 1.0.0 and notebook version 6.1.1 are used.

Download options currently available and which I wanted to remove/disable are as follows:

  1. Select a file (eg *.xlsx, *.csv etc) using checkbox -> click “Download” button
  2. Open a file (eg: *.xlsx, *.csv etc) -> From File menu -> click “Download”
  3. Open a *.ipynb notebook file -> From File menu -> click “Download as” -> select a file format to download

Kindly provide a solution for the above requirement

JupyterHub manages the authentication and running of a user’s server, but everything else is managed by whatever singleuser-server you’re running, such as Jupyter Notebook or JupyterLab. I’ve changed the category of your post to Notebook, hopefully someone will have some ideas.