A lightweight Linux utility that applies system-wide browser restrictions for Google Chrome and Brave Browser.
It disables Incognito Mode, Guest Mode, and Profile Creation, making it ideal for controlled or shared environments.
This project includes two shell scripts:
chrome_control.sh— Applies restrictions to Google Chromebrave_control.sh— Applies restrictions to Brave Browser
Both scripts configure browser enterprise policies on Linux systems. Once applied, users are prevented from:
- Opening Incognito (or Private) windows
- Creating or adding new browser profiles
- Using Guest Mode
These restrictions help enforce accountability and consistent usage policies across devices.
You may need to control browser behavior in environments such as:
Prevent misuse of private browsing and ensure students use approved profiles.
Maintain accountability, logging, and compliance by enforcing non-private usage.
Parents can ensure visibility over browsing activity by disabling private modes.
Prevent users from creating temporary profiles or bypassing settings.
If you want predictable, controlled browser usage, these scripts provide an easy and reliable solution.
These scripts work on:
- Debian-based Linux distributions
- Ubuntu-based Linux distributions
(Both require sudo privileges to apply system policies.)
git clone https://github.com/krishanthan4/chrome_under_control.git
cd chrome_under_control- For Google Chrome:
sudo bash chrome_control.sh- For Brave Browser:
sudo bash brave_control.shdisabled incognito mode
disabled guest mode
Contributions are welcome.
To contribute:
- Fork this repository
- Create a new feature branch
- Commit your changes
- Open a pull request with a clear explanation
- Issues and suggestions are also encouraged.


