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

Implicit passwords/sessions #212

Open
CyberShadow opened this issue Mar 4, 2018 · 0 comments · May be fixed by #222
Open

Implicit passwords/sessions #212

CyberShadow opened this issue Mar 4, 2018 · 0 comments · May be fixed by #222

Comments

@CyberShadow
Copy link
Contributor

During my participation in infrastructure maintenance of several online communities, one sentiment I hear frequently is that users don't want to remember additional usernames and passwords for every site they visit. An additional username/password pair is an additional mental burden, and a liability for the user.

It is also a liability for site owners. If the website is compromised (whether due to a vulnerability in hashover or elsewhere), attackers now have users' password hashes thanks to the site owner. As most people reuse passwords, the consequences will be unpleasant.

I'm not sure that a commenting system really needs to have user logins. Probably, most use cases of one can be satisfied by storing a private session cookie, which grants users the ability to edit and delete posts they made as long as that cookie lives. If one really wants, the remaining use cases are covered by sending an email to the user on their first post (or providing a way to send one whenever), which contains an URL that will log them back in instantly. Some discussion on HN.

Supporting both password and cookie-based auth could probably be done by hiding the password field and initializing it with a random string + enabling user auto-login.

@CyberShadow CyberShadow linked a pull request Mar 5, 2018 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant