[SOLVED] Help Needed blocking sites.
October 12th, 2013
If anyone know any trick plz help .
If you have any particular sites in mind,Just use the windows hosts file
c:\windows\system32\drivers\etc\hosts
If however you wanna block certain kinds of sites (I.E pr0n) use the following app:
http://www1.k9webprotection.com/
[quote=”Roberto400″]If you have any particular sites in mind,Just use the windows hosts file
c:\windows\system32\drivers\etc\hosts
How do i Block it By Host file ?
this how to do it
Windows uses a HOSTS (located in %systemdrive%/windows/system32/drivers/etc) file to maintain a personal list of web addresses. Any time a request is made for a URL, the HOSTS file will be checked first. If a corresponding address is found you will be directed to that IP without first consulting a DNS Server. The original intent of this file was to define where sites exist; we will use it in this context to define where they don’t exist. Lets first look at a HOSTS file entry
127.0.0.1 localhost
This is the loopback address for your machine for those cases where an application needs to reference the local machine by IP address- the loopback address will always be valid. This entry should never be changed.
Now lets add an entry to block
127.0.0.1 www.yahoo.com
We are telling our local machine that Yahoo actually exists on the local machine. Any request for www.yahoo.com will be directed to the local machine and therefore effectively blocked. You could also use the IP of another website if you wanted to be creative.
Let’s take a closer look at a URL http://www.yahoo.com
http:// defines the transfer protocol in this case Hyper Text Transport Protocol; this is the standard for viewing websites. Another common protocol is ftp:// for file transfer.
www is the host
yahoo.com is the domain
.com is further classified as the TLD (Top Level Domain)
A HOSTS file entry will disregard the transfer protocol so it isn’t needed. However, the host does play an important role. A webmaster may choose to define a host for his/her website. “WWW” has become the universal standard for the default host. It is just as common to define a site with no host as well. This means that as far as DNS goes www.yahoo.com & yahoo.com are two totally different sites, even though they resolve to the same place. Because of this to effectively block the site, you must also block all hosts. This would usually mean:
127.0.0.1 yahoo.com
127.0.0.1 www.yahoo.com
but i would use a program that blocks site it would a lot easier to do it
if you are using internet explorer you can do it this way
http://www.delete-computer-history.com/how-to-block-a-website.html
if you are using firefox you can use this (i don’t know if this will work with the latest version)
https://addons.mozilla.org/en-US/firefox/addon/blocksite/
Johnny:D replied: Hi guys Warez-BBians I need some help regarding site blocking, what i want to do is there any way i can Block some sites on limited user accounts in Window Xp and i want to block them my self don't wanna contect my ISP
If anyone know any trick plz help .
Use opendns!
You can add entries in c:\windows\system32\drivers\etc\hosts like this:
127.0.0.1 www.google-analytics.com
Or just use COMODO Firewall and add entry for all applications to block such domain. For example to block s1.statcounter.com to s14.statcounter.com, you have to add 14 entries, while you can block them with only one rule in firewall.
Johnny:D replied: How do i Block it By Host file ?
power_plus replied: You can add entries in c:\windows\system32\drivers\etc\hosts like this:
127.0.0.1 www.google-analytics.com
@ Johnny:D – Open the Hosts file with Notepad add the lines in, and save
Any decent firewall should give you the option to block specific sites. (some malware can edit HOSTS files)
Thankx everyone got it Problem solved