- Create the following folders:
/etc/opt/chrome/policies/managed /etc/opt/chrome/policies/recommended
- Create the file
/etc/opt/chrome/policies/managed/settings.json
containing{ "URLBlocklist": [ "*" ], "URLAllowlist": [ "chrome://settings", "chrome://os-settings", "chrome-untrusted://", "chrome://policy", "https://google.com", "https://google.de", ".new-tab-page", "chrome://resources", "chrome://theme", "chrome://favicon2", "https://wikipedia.org", "https://homeworker.li", "https://mebis.bayern.de", ] }
- Make sure that the files a owned by
root
and cannot be altered by users (644).
Last active
February 13, 2023 08:11
-
-
Save pohlt/c7afc06aecd858ab222b23699a011c6f to your computer and use it in GitHub Desktop.
Chrome policies to block / allow URLs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment