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

Allow/Enforce the same password and expiration requirements on Public Album links #1568

Open
ACiDGRiM opened this issue Jan 2, 2023 · 6 comments
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request feature: albums Related to the albums section

Comments

@ACiDGRiM
Copy link

ACiDGRiM commented Jan 2, 2023

Is your feature request related to a problem? Please describe.
I am totally in love with the Albums feature, this is what I have been waiting for a very long time. One issue I have is that there is not an option to password protect and set expiration dates on public Album links.

Describe the solution you'd like
Primarily: I would like to be able to create multiple links,with different passwords/no password/expiration dates, just like I can for sharing files and folders.
Also important: I would also like to share the album to other Nextcloud users as read-only, rather than allowing them to collaborate.
Finally, not so important: I would like to allow certain links to have permission to upload files from people with the link/password without a nextcloud account, saving the files into a pre-determined location.

Describe alternatives you've considered
This is a new feature, so I don't believe there are any alternatives, other than the existing option to share a folder with copies of media. However this loses the benefit of not having to create multiple copies of the same picture for different folders, whereas the Albums can share the same picture file across multiple collections.

Additional context
The only option for the public link available is to disable and create a new link.

@ACiDGRiM ACiDGRiM added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Jan 2, 2023
@relink2013
Copy link

I would really like to throw my vote in on this one.

I just spent the last several hours digging through all my settings and searching online trying to figure this out. The feature is so obvious I assumed something was configured wrong or it was a bug.

Synology Photos has been able to do this for over a decade! But I am trying so hard to get off of Synology's proprietary apps.

Is there any timeline at all for this being addressed? For my use case this is a show stopping issue.

@marcopenhacking
Copy link

For default links (non album links) it's also possible to disable download buttons. It would be good, if public album links would support this feature as well. See also: https://nextcloud.com/de/blog/secure-view-prevent-your-shared-files-from-getting-downloaded/

@IeP4nieF
Copy link

I only can repeat @relink2013 : "I just spent the last several hours digging through all my settings and searching online trying to figure this out. The feature is so obvious I assumed something was configured wrong or it was a bug."

The sharing-function is useless without the ability of setting up a password-function. And of course there must also be the possibility to edit the sharing, like delete the share, setup an vanish-date, grant rights and so on.

@CAberry
Copy link

CAberry commented Feb 2, 2024

I must bump this feature request.

Obviously, sharing an album of an event with family and friends without being able to password protect it is simply a no go. We can not create accounts for every one just for a one time share.

Greetings,

@darguez
Copy link

darguez commented May 24, 2024

I agree. Password protect in shared public links for albums should be a must nowadays (in the same way it is for folders). I love the posibility of sharing albums with family (just with selected photos), but I don't do it because I fear the link may accidentally fall into the wrong hands.

Is this feature in the roadmap? It would be amazing to have it.

@darguez
Copy link

darguez commented Jun 16, 2024

Curious thing is the workaround of placing this code in nextcloud .htaccess to force Apache2 to ask for a password when accessing shared albums links returns a nextcloud Error page (401) after entering valid credentials.

<If "%{REQUEST_URI} =~ m#^/index.php/apps/photos/public/#">
    AuthUserFile /etc/apache2/.htpasswd
    AuthName "Password protected"
    AuthType Basic
    Require valid-user
</If>

Important:

To generate a user/pass you I used sudo htpasswd -c /etc/apache2/.htpasswd username

And I had to set AllowOverrride to All instead None in /etc/apache2/apache2.conf

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

Apache2 restart is also required after conf changes: sudo systemctl restart apache2.service

@joshtrichards joshtrichards added the feature: albums Related to the albums section label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request feature: albums Related to the albums section
Projects
None yet
Development

No branches or pull requests

7 participants