# Hide/discourage "save notebook" functionality

**URL:** https://discourse.jupyter.org/t/hide-discourage-save-notebook-functionality/17983
**Category:** Notebook
**Created:** [February 14, 2023, 6:50pm UTC](https://discourse.jupyter.org/t/hide-discourage-save-notebook-functionality/17983 "2023-02-14T18:50:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Gerald\_Schmidt](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/gerald_schmidt/32/9122_2.png) [@Gerald\_Schmidt](https://discourse.jupyter.org/u/Gerald_Schmidt)
#### Post date: [February 14, 2023, 6:50pm UTC](https://discourse.jupyter.org/t/hide-discourage-save-notebook-functionality/17983/1 "2023-02-14T18:50:16Z")

</div>

Hi everyone, I’m looking to prevent users saving whole notebooks under certain circumstances.

I’m not trying to be draconian about it (this isn’t about disabling copy/paste), but I want to make sure that users can’t inadvertently download data to their workstations that they shouldn’t download.

Should this be done server-side (by disabling the class that saves the notebook) or in the UI? Suppressing the “Save” button and shortcut would be enough, but is it harder than patching a class via configuration on the server?

Am I overlooking an existing solution to the problem?

---

<div class="post-metadata">

### Author: ![1kastner](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1kastner/32/1537_2.png) [@1kastner](https://discourse.jupyter.org/u/1kastner)
#### Post date: [February 14, 2023, 10:08pm UTC](https://discourse.jupyter.org/t/hide-discourage-save-notebook-functionality/17983/2 "2023-02-14T22:08:30Z")

</div>

There are already some discussions on this topic in the forum and around, please have a look. Maybe you can find some insights at…

- [Disable Downloads not working - #8 by Ramanjaneya\_Naidu\_Na](https://discourse.jupyter.org/t/disable-downloads-not-working/11205/8)
- [https://github.com/jupyterlab/jupyterlab/issues/5274](https://github.com/jupyterlab/jupyterlab/issues/5274)

---

<div class="post-metadata">

### Author: ![Gerald\_Schmidt](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/gerald_schmidt/32/9122_2.png) [@Gerald\_Schmidt](https://discourse.jupyter.org/u/Gerald_Schmidt)
#### Post date: [February 15, 2023, 9:43am UTC](https://discourse.jupyter.org/t/hide-discourage-save-notebook-functionality/17983/3 "2023-02-15T09:43:54Z")

</div>

Thank you @1kastner will check these out now.

---

<div class="post-metadata">

### Author: ![Gerald\_Schmidt](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/gerald_schmidt/32/9122_2.png) [@Gerald\_Schmidt](https://discourse.jupyter.org/u/Gerald_Schmidt)
#### Post date: [February 15, 2023, 1:00pm UTC](https://discourse.jupyter.org/t/hide-discourage-save-notebook-functionality/17983/4 "2023-02-15T13:00:06Z")

</div>

Just to confirm that the extension mechanism works perfectly! Thanks again @1kastner.
