bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.33k stars 265 forks source link

[Request]: Special bottles with parental controls #1864

Closed axtloss closed 1 year ago

axtloss commented 2 years ago

Tell us the problem or your need

(this idea originated in the bottles discord) It would be interesting to have some sorts of parental controls bottle, which allows parents/guardians to set restrictions on bottles like limited/no network access or not being able to run executables/installers manually unless a password or a different form of authentication is provided.

Describe the solution you'd like

This could be implemented in a seperate bottle style (maybe called "baby bottle") which can be chosen when creating a new bottle in the form of a toggle or checkbox: Screenshot from 2022-07-29 19-31-16

Screenshot from 2022-07-29 19-31-30

Other solutions?

No response

Additional context and references

No response

mirkobrombin commented 2 years ago

I think this option should not be on the bottle creation dialog as the "baby" user can still create a new bottle with full permissions. Edit: the Parental control UI may be enabled by the user to avoid noise

axtloss commented 2 years ago

So maybe an option in the global bottles prefrences that lets you set bottles to be controlled by parental controls or sets bottles generally in a restricted mode?

mirkobrombin commented 2 years ago

So maybe an option in the global bottles prefrences that lets you set bottles to be controlled by parental controls or sets bottles generally in a restricted mode?

Workflow concept: (no Parental Control options are displayed)

  1. enable Parental Control in Bottles' Preferences (this will ask for a PIN)
  2. create a new bottle (which will pop up the PIN dialog) and enable Parental Control for the new bottle

so to run an executable, launching an Installer/Dependency and every Legacy Tool will pop up the PIN dialog. In the program's launch options (which will pop up the PIN dialog too) add an option to enable Parental Control for that program

TheEvilSkeleton commented 2 years ago

Typically, parental controls are used to restrict users no? If a parent wants to create a user for their child, then they'll create a new user and enable Parental Controls within.

image
mirkobrombin commented 2 years ago

Typically, parental controls are used to restrict users no? If a parent wants to create a user for their child, then they'll create a new user and enable Parental Controls within.

If we have access to this info, an option can be added to add a minimal Bottles view with only programs allowed by the parent/guardian. So the "baby" user has no access to a full Bottles instance.

TheEvilSkeleton commented 2 years ago

Keeping it here so we don't lose the link: https://lazka.github.io/pgi-docs/Malcontent-0

TheEvilSkeleton commented 1 year ago

Revisiting this, I doubt any of us are interested in having this feature at this point. I'm closing this issue.

(If there's an objection, we can reopen.)