Not Allowing To See Some Webs In Your Web Browser
Description
It could be that you don’t want your children seeing some web pages or something more sophisticated or for example you are a network administration that prefer to not let your users enter in some pages.
Solution
When Internet Explorer, Mozilla Firefox, any browser or application tries to solve a name to an IP number follows several steps.
The last one is questioning a DNS server about it, but what could happens if we interfere in the first step.
1. Press Windows Key +R and type:
notepad %windir%/system32/drivers/etc/hosts
You will see something like this:
2. Enter a new line indicating to pointer to localhost when someone tries to enter in whatever web you want to block.
For example to block a web named www.fullofvirus.com enter:
127.0.0.1 localhost
127.0.0.1 fullofvirus.com
127.0.0.1 www.fullofvirus.com
So it will look like this way:
Don’t forget to save the host file. You need administrator rights to do this.
You can make a ping to know if the changes are made correctly:
Related posts: