Originally published at: https://nextcloud.com/blog/secure-view-prevent-your-shared-files-from-getting-downloaded/
Sometimes you want to share a file, but you don’t want the recipient to actually download it. Since Nextcloud 15, secure view (or ‘Hide download’) allows you to remove the download button so that confidential files can’t be downloaded.
How secure view works
When sharing a public link to a third party to view material on your Nextcloud there is a ‘Hide download’ option available to check. When ‘Hide download’ is enabled, PDF documents and images will appear on the viewers screen without the menu options to download the file(s) or add them to their own private cloud.
Note that this feature will prevent most normal users from downloading the content but keep in mind how the web works: If you can see something on it – it is there and it can be copied by users with more technical skills. Secure view restricts the ability to download the file but this can be worked around with screenshots and browser tricks.
Collabora online introducing support today
Collabora Online lets you view, edit and download documents. Our update of the Collabora Online integration app from last week combined with at least version 4.0 will hide the download option also from Collabora’s menu items. It also disables printing and copy/pasting out of the document, leaving screenshots and the ‘read and type in another document’ as the only possible ways of copying.
Collabora Online’s document model ensures that the document is retained on the server, under your control, while providing the pixels you see to the browser. Short of scripting your own Optical Character Recognition (OCR) on screenshots – Secure view makes it extremely hard to automatically extract data from documents.
If you want the viewer to still be able to edit a document you shared, it is up to you to combine ‘Hide download’ with the ‘Allow editing’ option.
Secure view will be even more secure
Collabora provides a way to watermark the documents with a configurable text, font and other properties. We are working on integrating that feature in Nextcloud too, along with a way to display PDF files by Collabora. This way, when ‘Hide download’ is enabled, even screenshots of shared documents will be marked with a preconfigured watermark showing the name of the user who shared the file, the IP address of the person who opens it or showing the date and time at which the document was opened.
This is an example of how we’re always working with our partners to enable you more control over your data and give you more ways to protect the confidentiality of your documents! A good reason to stay tuned, discover our newest features and always update to the latest release!