We help IT Professionals succeed at work.

Hosts file website blocking in VISTA

296 Views
Last Modified: 2012-05-10
I created a HOSTS file that contains 3 web addresses that I wish to restrict user access. I put the file on two XP workstations and the effectively blocked access to the sites. However I have two Vista machines and when I put the HOSTS file on those machines and typed in the web address, the browser took me to a Google search. The site was listed at the top and I clicked on it. It took me straight to the web site I was trying to block.

The files I want to block are EBAY.com, YOUTUBE.com, and FACEBOOK.com.

I have a linksys WRT120N router and put these addresses in INTERNET ACCESS RESTRICTIONS. But could still type the URL and go straight to the website.

I know that a I can purchase a firewall but is that my only option to restrict access to certain websites by users on a 8 workstation LAN.
Comment
Watch Question

As long as the users are not administrators you could probably use parental controls to do this as well.
Try this site: http://www1.k9webprotection.com/ 
It's free, and I think you'll get exactly what you need from it.
Of course, unless you're in an enterprise environment, in which case, this won't be robust enough to handle your needs, but then again, the HOST file solution wouldn't be either in that case :)
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
do you have an internal DNS server, you can use it to restrict access.  The other option is to use a proxy server and restrict access by denied the access to the URL using the proxy server.
You would need to disable the suggest option in IE.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Commented:
Find an old useless pc, add 2 nics and install ipcop & dansguardian
Simple, fast, reliable yet cost effective :)

Author

Commented:
thanks for the answers. This solution is what I needed. I had set the addresses but failed to select the computers. Things seem to work well.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

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

OR

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.