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

Lock a session with a pin after browser inactivity #20695

Closed
szaimen opened this issue Apr 27, 2020 · 4 comments
Closed

Lock a session with a pin after browser inactivity #20695

szaimen opened this issue Apr 27, 2020 · 4 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement Nice to have

Comments

@szaimen
Copy link
Contributor

szaimen commented Apr 27, 2020

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
I like the ability to be always logged in to my nextcloud instance in the browser.
The problem is that if I forget to lock my operating-system account, somebody has access to all of my data and could potentionally make a lot of damage.

Describe the solution you'd like
It would be really nice, if a user was able to configure a PIN for his useraccount. After browser inactivity, Nextcloud would then present a kind of "lockscreen" where he/she should enter his pin to get access to Nextcloud again. (of course the admin should be able to reset the pin for users).

Additionally, if done right, there should be a config optionn to enable this functionality instance wide. (That the users have this "PIN" option in their security tab in their usersettings and if a PIN was set, automatically enable the lockscreen after browser inactivity.)

Describe alternatives you've considered
Technically it could be probably based on #20298 to correctly detect browser inactivity (but of course the user shouldn't get logged out).

Maybe Nextcloud Push could also be used to automatically update the UI and present the "lockscreen" to only allow access to Nextcloud after the correct PIN is entered.

BTW: it would be somehow comparable to the so called "Plex Home Pin" but without the option to change useraccounts.

@szaimen szaimen added enhancement 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Apr 27, 2020
@szaimen
Copy link
Contributor Author

szaimen commented Aug 18, 2020

@nextcloud/designers is this something you could be interested in? I think this would step up the security of all useraccounts in webbrowsers by a lot!

@stefan-niedermann
Copy link
Member

In my humble opinion this is something that should be solved on an operating system level (aka screensaver).

Actually it would be pretty annoying to return to my PC and unlock two sessions without a security benefit (from my point of view).

@szaimen
Copy link
Contributor Author

szaimen commented Aug 18, 2020

Actually the idea was to specifically separate it from the Operating system to cover the case when you forget to lock your device or just allow somebody else to use your device for internet usage. (of course this is always a matter of trust into the person you are giving the device)

BTW: Since this is just an additional security feature, I think it would be enough to allow 4-6 Pincodes of numbers.
It should additionally only be allowed to type the pincode 3 times by default and then lock the code automatically, imo.
Also if you have more than one nextcloud tab open, it should lock them all if you are away and unlock them if you enter the correct pincode in one of them.

@szaimen
Copy link
Contributor Author

szaimen commented Jun 8, 2021

Seems like this idea isn't wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement Nice to have
Projects
None yet
Development

No branches or pull requests

2 participants