You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enforce password protection and enable default encryption
Upload and share file per mail.
Visit link in mail and click on download -> error will raised
How it works (but without a password!!!):
Enforce password protection and enable default encryption
Upload and share link with password protection
Share file per mail
Visit link in mail and click on download -> works without an password
Expected behaviour
Sharing per mail shouldn't work without a password.
Beside that fact may an error message should appear with the message "the download isn't possible without a password".
Actual behaviour
User which visit the link and click on download receive:
"Can't read file
Can not read this file, probably this is a shared file. Please ask the file owner to reshare the file with you."
or with shared link and mail:
User can download the file without a password.
Server configuration
Operating system:
CentOS 7.2 Web server:
Apache Database:
mariadb
Are you using external storage, if yes which one: local/smb/sftp/...
SAN Are you using encryption: yes/no
YES Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
AD
Fix to allow you to access mail shares if the files are encrypted is here: #3751
Sharing per mail shouldn't work without a password.
The "enforce password" setting only applies to public links, as the setting indicates. We consider files shared by mail as something different, more "internal" (even if it is almost the same from a technical point of view). Maybe like a federated share for people who don't have a own Nextcloud. The link shared by mail is never shown in the web interface, in contrast to a public link which you can access on your web ui, post on social media, etc.
Discussions on how we could protect link shares with a additional password can be followed here: #2357
Steps to reproduce
How it works (but without a password!!!):
Expected behaviour
Sharing per mail shouldn't work without a password.
Beside that fact may an error message should appear with the message "the download isn't possible without a password".
Actual behaviour
User which visit the link and click on download receive:
"Can't read file
Can not read this file, probably this is a shared file. Please ask the file owner to reshare the file with you."
or with shared link and mail:
User can download the file without a password.
Server configuration
Operating system:
CentOS 7.2
Web server:
Apache
Database:
mariadb
PHP version:
PHP 7.0.16
Nextcloud version: (see Nextcloud admin page)
11.0.1
Updated from an older Nextcloud/ownCloud or fresh install:
10.0.0
Where did you install Nextcloud from:
official page
Signing status:
Signing status
List of activated apps:
App list
The content of config/config.php:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
SAN
Are you using encryption: yes/no
YES
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
AD
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Chrome
Operating system:
Windows 7
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
nextcloud log
The text was updated successfully, but these errors were encountered: