I am using Onlyoffice to open docx, xlsx… files online, however I am having the following permission problem: I want to block users from downloading files, however when I remove the Allow Download option (in Custom permission), users cannot open docx, xlsx… files (onlyoffice reports ‘Download Fail’ error) or if I select View only mode, users still see the download button.
Is there a way to prevent users from downloading files but users can still view those files online (only view but not edit)?
I am using the latest version of Nextcloud and Onlyoffice app
As soon as you see the CONTENT of a file it self, then the file already IS Downloaded, at least somewhere in a cache of the browser.
And opening in a local OnlyOffice always needs to download the file first.
So the answer is NO, not possible.
View only mode means, the user can see some meta data (there is A file of … size) but nothing more.
If you want to show the content, it has to be brought up to your machine first, which is downloading from the perspective of the server, so if download is prohibited, the opening will fail.