Please visit the new Mac-Forums Facebook page:
Join Us @ Mac-Forums Facebook Page



Results 1 to 2 of 2
  1. #1
    blocking google+ and gmail without blocking google as a search engine
    I need to block access to gmail and google+ on my children's mac books. I had no problem doing this before, however ever since I upgraded to Mountain Lion, I am stumped on how to do this. Please advise.....:

  2. #2
    blocking google+ and gmail without blocking google as a search engine
    McYukon's Avatar
    Member Since
    May 14, 2009
    Location
    Near Whitehorse, Yukon
    Posts
    2,052
    Your Mac's Specs
    2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
    Rep Power
    13
    Not to hard to do, and unless they are computer savvy they will not figure it out.
    Since GMail and Google+ both operate on their own subdomains so you can block them via the hosts file.

    Open Terminal and enter:

    Code:
    sudo nano /private/etc/hosts
    Now add these two lines at the very bottom. You use the arrow keys to navigate.
    The space between the IP and the domain name is a tab when you enter it.

    127.0.0.1 plus.google.com
    127.0.0.1 mail.google.com

    To save changes: control+o then control+m
    To exit: control+x

    Then run this to make the rules active.
    Code:
    sudo dscacheutil -flushcache
    Now when someone tries to load plus.google.com, the system will check this file first, see that it needs to be redirected to 127.0.0.1 which is a loopback IP and error out because it can't find the server.
    Use the reputation system if a post helps you!
    Mac Forums IRC Channel - Help build it by hanging out with us
    The next sentence is true. The previous sentence is false.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Startpage: Google-powered search engine + privacy
    By Lifeisabeach in forum Schweb's Lounge
    Replies: 5
    Last Post: 02-23-2012, 07:01 AM
  2. Delete Google for our search engine??
    By class77 in forum Schweb's Lounge
    Replies: 5
    Last Post: 07-20-2011, 09:45 PM
  3. Google unveils 'Google Instant' to speed up Internet search
    By the8thark in forum Schweb's Lounge
    Replies: 12
    Last Post: 09-12-2010, 02:46 PM
  4. Custom Google Search Engine
    By Kevriano in forum Schweb's Lounge
    Replies: 4
    Last Post: 05-26-2010, 08:09 AM
  5. Google search engine showing/home page instead of index page
    By jacklondon in forum Web Design and Hosting
    Replies: 12
    Last Post: 03-23-2010, 11:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •