?
Solved

Restrict access to Yahoo Games on individual PC using HOSTS file

Posted on 2005-03-09
4
Medium Priority
?
263 Views
Last Modified: 2010-04-08
Hi, this is sort of related to firewalls.  I want to modify an individual PC hosts file so that the user cannot access Yahoo Games (games.yahoo.com).  When I try to add a selection to the hosts file that says

127.0.0.1 games.yahoo.com  

but nothing happens (I can still access Games).  I can successfully add a selection for yahoo.com but I don't want to restrict the user from using all of yahoo -- just games.yahoo.com.  

We do not have a proxy server and I do not want to modify firewall.  Just want to restrict on this particular computer.

Thanks!!

0
Comment
Question by:tocchet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 79

Expert Comment

by:lrmoore
ID: 13500165
Try using both the alias and the canonical names:

127.0.0.1 games.yahoo.com
127.0.0.1 games1.vip.scd.yahoo.com
0
 

Author Comment

by:tocchet
ID: 13500452
I tried that, I still have access to all Yahoo Games after this.

Thanks
0
 
LVL 79

Accepted Solution

by:
lrmoore earned 1600 total points
ID: 13500586
Interesting.. Even with /flushdns to empty the cache. Command prompt nslookup resolves to 127.0.0.1, I still get a login prompt to my own webserver but can't get in, but at least I don't get the yahoo games page no matter what...

I put these three entries in my hosts file
127.0.0.1 games.yahoo.com
127.0.0.1 games1.vip.scd.yahoo.com
127.0.0.1 login.yahoo.com

Try with a bogus local IP instead of 127.0.0.1

192.168.144.244 games.yahoo.com

0
 

Author Comment

by:tocchet
ID: 13500887
THANK YOU THANK YOU THANK YOU!!
0

Featured Post

Bringing Advanced Authentication to the SMB Market

WatchGuard announces the acquisition of advanced authentication provider, Datablink, with one mission – to bring secure authentication to SMB, mid-market, and distributed enterprises with a cloud-based solution, ideal for resale via their established channel & MSSP community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are like regular user of computer nowadays, a good bet that your home computer is on right now, all exposed to world of Internet to be exploited by somebody you do not know and you never will. Internet security issues has been getting worse d…
To setup a SonicWALL for policy based routing to be used with the Websense Content Gateway there are several steps that need to be completed. Below is a rough guide for accomplishing this. One thing of note is this guide is intended to assist in the…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question