hankknight
asked on
Windows XP: Block IP Address
I can block a website by a domain by making a host entry.
How can block a website by IP address? Is there a file like the host file I can edit? Is there any way to do this on Windows XP without using third-party software or hardware?
How can block a website by IP address? Is there a file like the host file I can edit? Is there any way to do this on Windows XP without using third-party software or hardware?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Been a while, but I think Windows XP with Service Pack 2 or later includes a firewall, which will definitely do what you're asking.
OpenDNS is a free 3rd party service that can control access to web sites: http://www.opendns.com/
Microsoft's Family Safety also does a decent job of filtering access to websites, and is free: http://www.microsoft.com/security/family-safety/default.aspx#Internet-use
If you wanted to block access to Google, for example, you could put 127.0.0.1 google.com www.google.com in the C:\Windows\system32\driver s\etc\host s file - which will cause your computer to think google.com is it itself.
OpenDNS is a free 3rd party service that can control access to web sites: http://www.opendns.com/
Microsoft's Family Safety also does a decent job of filtering access to websites, and is free: http://www.microsoft.com/security/family-safety/default.aspx#Internet-use
If you wanted to block access to Google, for example, you could put 127.0.0.1 google.com www.google.com in the C:\Windows\system32\driver
Actually it seems you can use the hosts file to alias one IP address to another, just like you'd set the IP address associated with a domain name.
127.0.0.1 10.23.123.234
ASKER
Thank you all for your ideas. As mentioned in the original post, third-party software is not an option. Using Route works best for what I need.
http://www1.k9webprotection.com/