nextcloud / nextcloud/server

Password protection for link shares should suggest autogenerated passwords

Open
#12,171 21 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2. developing client: 💻 desktop client: 🤖🍏 mobile design enhancement feature: sharing help wanted needs review overview
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

  • Android @tobiasKaminsky
    • nextcloud/android#9241
  • Desktop @camilasan
    • nextcloud/desktop#5944
  • iOS @marinofaggiana
  • Server

Currently when you want to password-protect a link, you have to think of a password yourself. Which is possibly not secure, or not easy to remember. This is especially useful when password-protection is mandatory cause enforced by the admin.

We should help people by autogenerating a default password whenever you check "Password-protect", until it is changed. It should be passwords which can be easily communicated over other channels, so maybe something made of other words like:

house right carton keyboard

Or something like that – you know what I mean. ;)

What do you think @nextcloud/designers @nextcloud/security?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the server-side link-share password-protection flow and reviewing its existing validation and sharing tests. Done means enabling password protection suggests a communicable autogenerated password until the user changes it, while preserving mandatory administrator-enforced protection.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.