-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Password protection for link shares should suggest autogenerated passwords #12171
Comments
GitMate.io thinks possibly related issues are #10644 (Link sharing broken with enforced password protection), #5658 (share by email - password email not sent - solved), #7469 (Cannot set password for share by email links), #4008 (Disable reset password link), and #7258 (strange problem when shared with password ). |
The trouble here is that if the password policy app is enabled generating 'easy to remember' passwords becomes hard to generate. Like special charachters. numbers, uppercase lowercase etc. |
https://blog.codinghorror.com/password-rules-are-bullshit/ 🙈 … so for whoever enables password policies: just append some random chars which fulfill the policy? (and let them notice that generic password policies are not the best solution 😄 ) |
@LukasReschke well fair enough :) |
Oh my! 😁 |
Sounds fine to me 👍 |
Setting to "help wanted" since people agree it’s good but no one volunteered to pick it up yet. ;) Also cc @nextcloud/android @nextcloud/ios @nextcloud/desktop just FYI. Nothing is being developed on this right now, but if it happens we should also have this in the mobile apps and desktop clients for feature parity. |
Server: nextcloud/password_policy#83 |
Nice to see! @skjnldsv: Will you be able to copy the link first, paste the link to my interlocutor, open the menu afterwards again and copy and paste the password in the second step? I think it is much more logical to send the link first. |
@szaimen depends if the password is enforced or not. If not enforced, sure you can create a link and add a password afterwards. |
@skjnldsv okay, and if passwords are enforced, can't I just copy the password afterwards? Why should showing the password afterwards in the password-field in cleartext be a security risk, if I am the only one that has access to the link-configuration? |
@szaimen the security is not here. The security is that we don't save the password in plain text. We encrypt it and we save it in the database. So you cannot get the plain text password back. :) This is just technically not possible. |
@skjnldsv thank you for the clarification! BTW: if "Always ask for password" and/or "enforce passwords" ist enabled, I think that clicking anywhere else to close the popup-window should automatically accept the password. So if "Always ask for password" is enabled just unchecking or clearing the password-field would disable the password protection (I think that's the best for security). |
Well, yes you can always enter a new password.
That is how it currently is yes (on the upgraded sharing ui) |
@skjnldsv thank you for your answer.
But I wasn't completely sure it will work this way. |
The suggestion is only happening once. |
Fixed with #15719 |
@skjnldsv for clients: is there a way to get some passwords, as specified by password policy rules? |
Yes, the password policy app offers an api for that. server/apps/files_sharing/src/components/SharingEntryLink.vue Lines 507 to 509 in 2fd0575
server/apps/files_sharing/src/components/SharingEntryLink.vue Lines 632 to 651 in 2fd0575
reopened for client parity |
As it is via https it is no problem to fetch only one password. |
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:
Or something like that – you know what I mean. ;)
What do you think @nextcloud/designers @nextcloud/security?
The text was updated successfully, but these errors were encountered: