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

Enable Link-Based Password Retrieval in Seafile #2867

Open
sbcarp opened this issue Dec 28, 2024 · 0 comments
Open

Enable Link-Based Password Retrieval in Seafile #2867

sbcarp opened this issue Dec 28, 2024 · 0 comments

Comments

@sbcarp
Copy link

sbcarp commented Dec 28, 2024

Enable Link-Based Password Retrieval in Seafile

Currently, when a user creates a share link in Seafile, they have the option to protect it with a password. However, recipients must enter that password manually to access or download the shared file or folder.

This feature will allow Seafile to read the password directly from the link.

Examples

Share Link with Password in URL

https://example.com/f/c16f3a3ffad6465fa7d9/?pw=123456
The embedded pw parameter automatically authorizes the viewer, eliminating the need for manual password entry.

Direct Download Link with Password in URL

https://example.com/f/c16f3a3ffad6465fa7d9/?dl=1&pw=123456
The embedded pw parameter allows recipients to start the download process immediately, bypassing the manual password step.

Use Case

Programmatically Downloads (e.g., wget)
When using command-line tools like wget to automate file retrieval, it’s beneficial to include the password directly in the link.

wget "https://example.com/f/c16f3a3ffad6465fa7d9/?dl=1&pw=123456" -O output_file.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant