Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: replace senseless "allow download" option on shareing options with "hide download" #45412

Open
6 of 8 tasks
Volker-K opened this issue May 21, 2024 · 1 comment
Open
6 of 8 tasks
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: sharing

Comments

@Volker-K
Copy link

Volker-K commented May 21, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

When sharing with other cloud accounts, I can deactivate the checkbox in front of “allow downloads” in the advanced settings.
As a result, people I share with in this way can only click on and view the images. Both PDF files (see #41686 ) and MD files including the readme.md (see #42250 ) can not be displayed because the browser implementation of Nextcloud wants to make a WebDAV download of the file, which is not allowed. The same happens with Office integrations, draw.io files etc. I can only see the existence of the files in the directory.
Since the function is not working in a way that user would expects and displaying and downloading images ist possible despite the deactivated download this is posted as a bug, that can be fixed by changeing the feature.

Steps to reproduce

  1. Share a folder with a PDF, an MD and some various other files with another user
  2. open extended settings, uncheck "allow download"
  3. Log in as the other user and try to do view the information inside the files

Expected behavior

If I share a folder where I prevent the download of the files, I expect as a user that the file contents can still be viewed. The fact that, as here, only the directory entry is visible except for images is as unexpected as it is pointles.
It is also inconsistent. Images are displayed via an < img > tag and are therefore downloaded to the user's PC; Firefox allows all media downloaded in this way to be saved at this point. This means that images can be downloaded despite the ban.
As with external links, it would be consistent not to prohibit the download, but merely to deactivate the download link.
In the 21st century, users must be aware that all content displayed on the other person's device is also stored there in some way, but it is not expected that forbidding the download will make the share itself - except for images - completely pointless.

Installation method

Community Manual installation with Archive

Nextcloud Server version

28

Operating system

Other

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@Volker-K Volker-K added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 21, 2024
@moritzthecat
Copy link

moritzthecat commented Jun 28, 2024

Understand that this is an NC architecture issue and depencency, but wanted to highlight our use case, why we think secure-view disabling download is a strong feature as being implemented.

Delivering preview photos to clients often starts without option for client being able to download the files supported by the read only mode. This is a very needed and appreciated feature also available in other cloud solutions. The Readme.md is used to explain project details. When download is disabled this should still enable clients to see the content in the NC browser view.

Reflecting this discussion
and above issue proposal the secure-view should work consistently across sharing options. So the proposal from @Volker-K to change to hide download functionality is appreciated.
grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 28-feedback bug feature: sharing
Projects
None yet
Development

No branches or pull requests

4 participants