• LinkedIn
  • Fresh Traffic on Google Plus
  • Subcribe to Our RSS Feed
Browsing "linux"

Blocking Social Media at the Workplace

Jan 2, 2010   //   by freshtraffic   //   facebook, linux, myspace, social media, twitter  //  Comments Off

You hear all the time about employees using social media websites while at work, well if you haven’t already blocked them, here’s a simple trick.

In Linux, you can type “sudo vi /etc/hosts” and add the following lines: twitter.com www.twitter.com facebook.com www.facebook.com myspace.com www.myspace.com

What these lines say is “Computer, when you try to use the domain name system (DNS) to resolve twitter.com to an IP address, hard-code the IP address to be” Note that is a special IP address that corresponds to your own computer. In essence, these entries make it impossible to browse to Twitter, Facebook, or Myspace. You might need to reboot your computer too for the settings to take effect.

Thanks to Matt for the tip.