We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Block single website for single user on sbs 2003

Medium Priority
Last Modified: 2013-12-05
I have a sbs 2003 standard edition installed for one of my clients, he wants to block facebook website for one of the users(individualy), as well as messenger. any luck?
Watch Question

Go to their computer and edit the hosts file.

Add an entry for www.facebook.com and point it at some other ip address.

You can do the same for messanger- but I don't know the server names that it would use to try and map this.

Its not full proof, but should go a long way to get them off of those sites.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
If you want to do this doing SBS, you should probably upgrade standard to Premium Ed. This will allow ISA to function on the server, then you can do some straight forward rule editing to allow websites to be blocked. However, you must look into third party software or service. Sorry to have to tell you!! But I know upgrading is easy and a breeze. So dont panic!
I know that editing the hosts file will fail during some occasions, I tried this a while back. At times users may be able to access the website through certain links and proxies by accident.
As I said... its not full proof. But for 1 user it beats the expense of buying, installing, and configuring ISA server for the task.
Abbas HaidarSenior Infrastructure Manager


How do i add edit the host file? and where is it? how do i do it, any examples please? i want to block facebook website for a user?
On XP it is in the c:\windows\system32\drivers\etc.

The file is 'hosts' (no extension)

Open the file in notepad, you will see the syntax you need to use.
Add a line for www.facebook.com and point it to the ip address
The answer that acroment gave you should work just fine for a quick fix, give it a try and let us know.

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.