I suggest you ...

enforce google safe search on linux

Some users would like google safe search to be enforced. If you would like this on a platform other than linux, please create a separate suggestion.

16 votes
Sign in
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
AdminJon (Founder, Pluckeye) shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Sign in with: facebook google
Signed in as (Sign out)
  • teal hill commented  ·   ·  Flag as inappropriate

    Google's "Lock SafeSearch" feature is another way that an individual user can force SafeSearch on. But I doubt that "Lock SafeSearch" affects "privacy mode" or "incognito mode" windows.

    On Google Chrome at least, I think there are per-machine ways to disable incognito mode.

  • teal hill commented  ·   ·  Flag as inappropriate

    Long comment here.

    Here are some possible options. The first option might be best, because it might support both Google and YouTube.

    ==== Enforcing safe searching on Google and YouTube using a hosts file ====

    You may be able to enforce safe searching on Google, Google Images, and YouTube. And you may be able to do this simply by programmatically editing a machine's hosts file.

    I believe that Windows, Mac OS, and *nix each include a hosts file.

    Please see: https://support.opendns.com/hc/en-us/articles/227986807-How-to-Enforcing-Google-SafeSearch-YouTube-and-Bing

    The IP address of forcesafesarch.google.com is:
    The IP address of restrict.youtube.com is:

    I don't work at Google, so I can't guarantee that these IP addresses will never change. If they change, I guess users could switch to using Bing. And then maybe you could push out update notifications to users telling them that there's an update available which fixes Google.

    ==== Enforcing safe searching on YouTube by inserting HTTP headers requests ====

    Insert this HTTP header into each request: YouTube-Restrict: Strict

    I learned the above from: https://support.google.com/a/answer/6214622?hl=en

    I have no idea whether or not it's possible to do something similar for Google Web Search.

    ==== Enforcing safe searching on Google (but not YouTube) using URL-modifying regexps ====

    It looks like e2guardian can enforce Google SafeSearch, as well as the safe-searching features on Yahoo and some other search engines. This is done using URL-modifying regular expressions. Install e2guardian, open up the https://github.com/e2guardian/e2guardian/blob/master/configs/lists/urlregexplist file which it installed on your computer, and uncomment the relevant lines.

    The above file doesn't include any lines to force YouTube's Restricted Mode, and it may not be able to. In a school, it used to be possible to a URL-modifying regexp to force students to use YouTube for Schools -- see http://www.comsift.com/white-papers/ytfs_whitepaper.pdf -- but I'm not sure whether or not this is still true. Anyway, I'm not in any school. :)

Feedback and Knowledge Base