Windows xp updating hosts file
Now you will not get the error about not being able to modify the HOSTS file.
Note that you can use the HOSTS file to redirect a user from one site to another site too.
Hello: I have a requirement to lock down the internet browser.
This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS.
Now navigate to the drivers/etc folder again and make sure to choose All files for File Types, otherwise you won’t see the HOSTS file.
Make your changes to the HOSTS file and click File and Save to save all changes.
For example, you can block websites using just the HOSTS file.
All you do is add your own DNS lookup and you’re good to go.Example – the following entry 127.0.0.1 ad.blocks all files supplied by that Double Click Server to the web page you are viewing. because in certain cases “Ad Servers” like Doubleclick (and many others) will try to open a separate connection on the webpage you are viewing.This also prevents the server from tracking your movements. So how does, malware authors use the Host file to their benefit.That’s because all browsers in Windows check the contents of the HOSTS file first when performing DNS resolution.