【问题标题】:option to disable downloading from jupterlab and notebook禁用从 jupyterlab 和笔记本下载的选项
【发布时间】:2020-08-01 21:39:35
【问题描述】:

我正在使用 jupyterhub(在 AWS 上使用 K8S)运行 jupyterlab 并使用敏感数据,因此我想禁用将文件从实验室下载和导出到本地计算机的选项。

我能想到的唯一方法是编辑 jupyter lab 和 jupyter notebook src 代码,删除下载文件的选项和函数,然后将它们安装在我的 pod 上,而不是默认的 jupyter lab 和 notebook 但这并不能阻止用户直接访问 url 并从那里下载文件。

有人做过这样的事吗?我在 Github 的 jupyterlab 论坛上看到,关于这个主题有几个问题悬而未决,但没有任何解决

【问题讨论】:

    标签: jupyter-notebook jupyter jupyter-lab jupyterhub


    【解决方案1】:

    他们已到达v3.1.0(prerelease) 现在,可以使用jupyter labextension disable @jupyterlab/docmanager-extension:download 将下载选项作为扩展程序禁用。

    同样对于右键菜单中的下载选项,可以使用jupyter labextension disable @jupyterlab/filebrowser-extension:download禁用。

    更多信息请访问here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-03-04
      • 1970-01-01
      • 2022-01-26
      • 2020-12-01
      • 2020-09-23
      • 2018-04-03
      • 1970-01-01
      • 2018-01-13
      相关资源
      最近更新 更多