Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to edit my Mac OSX hosts file to block facebook. The only problem with doing this is I need to use facebook connect to use some of my Spotify apps.

I also use a program called self control to edit the file.

share|improve this question

It doesn't look like you can. Editing your host file will make facebook.com and www.facebook.com resolve somewhere else. Facebook requires that you connect to www.facebook.com for OAuth authentication. Google offers OAuth.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .