Chrome browser policy on linux

To restrict specific features in Google Chrome on Linux, such as Guest mode, Incognito mode, and the ability to add new users, you can set up policies. Follow these steps:

Create a directory for Chrome policies, as root:

su - root
mkdir -p /etc/opt/chrome/policies/managed

Add a JSON file to this directory with the desired policies. The file can have any name, for example, restrict_features.json. Add the following content to the file:

{
  "BrowserGuestModeEnabled": false,
  "IncognitoModeAvailability": 1,
  "BrowserAddPersonEnabled": false
}


This configuration will disable Guest mode, make Incognito mode unavailable, and prevent adding new users in Chrome.


Pierre FILSTROFF

Senior Software Engineer - IC - Ruby on Rails/Hotwire - Android/iOS - DevOPS