 |
22-04-2008, 06:24 PM
|
#1 (permalink)
|
|
Alpha Geek
Join Date: Dec 2006
Location: Pokhara/Nepal
Posts: 574
|
How to Block Website without any Software
Well, may be this trick posted before. I must say sorry & request moderators to delete this post if it is reposted .
Here is the trick how to block website without any software.
Block website without any Software
Go to C:\Windows\System32\Drivers\Etc
Find the File named "HOSTS"
Open the said file with the help of Notepad
Under "127.0.0.1 localhost" just add the site you want to block
e.g.
127.0.0.2 www.orkut.com
127.0.0.3 www.santabanta.com
Save the file & exit notepad. (Some antivirus may prompt you the changes, simple allow the changes to take effect.)
Now both website are blocked at all.
Just add anyother website you want to block but remember last number must increase in every website.
e. g.
127.0.0.1 localhost
127.0.0. 2 www.orkut.com
127.0.0. 3 www.santabanta.com
127.0.0. 4 www.google.com
|
|
|
|
Advertisements. Register and be a member of the community to get rid of them.
|
|
Advertisement
|
|
22-04-2008, 06:32 PM
|
#2 (permalink)
|
|
Human Spambot
Join Date: Jan 2007
Location: Lat 28.38°N , Longt 77.13°E
Posts: 2,431
|
Re: How to Block Website without any Software
Seen on this forum earlier as well. Don't forget to mention the source
|
|
|
22-04-2008, 06:51 PM
|
#3 (permalink)
|
|
Alpha Geek
Join Date: Dec 2006
Location: Pokhara/Nepal
Posts: 574
|
Re: How to Block Website without any Software
Quote:
Originally Posted by asnvin
Seen on this forum earlier as well. Don't forget to mention the source
|
thankx for prompt.
anyway I also don't know the exact source. If I know I will provide the source in next threads.
|
|
|
29-04-2008, 02:02 PM
|
#4 (permalink)
|
|
.
Join Date: Jun 2007
Location: New Delhi
Posts: 8,936
|
Re: How to Block Website without any Software
Knew this before...
It is going to be helpful for those who don't know.....
__________________
.
|
|
|
29-04-2008, 02:19 PM
|
#5 (permalink)
|
|
हॉर्न ओके प्लीज़
Join Date: Sep 2007
Posts: 1,493
|
Re: How to Block Website without any Software
If I am not wrong, in IE there is an an option for you to black sites.
I think its Toosl->Options->Content->Restricted sites
(Sorry don't remember correctly)
__________________
विक्टर रॅंबो - चाणकया प्रभावित व्यक्ति
गीक होना माँगता
|
|
|
29-04-2008, 02:25 PM
|
#6 (permalink)
|
|
Right Off the Assembly Line
Join Date: Apr 2007
Posts: 14
|
Re: How to Block Website without any Software
@rohan,
It will work only for IE  . For any browser(firefox,safari,opera,flock etc...) installed in your PC, the above method is useful.
|
|
|
03-05-2008, 11:57 AM
|
#7 (permalink)
|
|
The Revolutionary
Join Date: Apr 2008
Location: Andhra Pradesh
Posts: 65
|
Re: How to Block Website without any Software
Hey thanks its working with opera too and once again thanks.
|
|
|
04-05-2008, 02:48 AM
|
#8 (permalink)
|
|
Coming back to life ..
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,997
|
Re: How to Block Website without any Software
Well.. Whats the logic of increasing the last digit ? Usually its done like this :
127.0.0.1 orkut.com
127.0.0.1 thinkdigit.com
If Windows will find these entries in hosts file, it wont query the dns for the IP address attached to these domains, instead it will try connecting to 127.0.0.1 which actually is your own computer. On most machines, there wont be any web server running so the user will get Cannot find server message.
Not to sound like boasting but I posted this in 2004 I guess and then we had a discussion of putting 0.0.0.0 instead of 127.0.0.1 . If you put 0.0.0.0, you'll get the response fast (Cannot find server response) and it wont make your system slow (your system trying to connect to a non existent web server on your machine ) as 0.0.0.0 is an invalid ip. So try putting 0.0.0.0 instead of 127.0.0.1 ..
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
|
|
|
04-05-2008, 09:26 AM
|
#9 (permalink)
|
|
Legen-wait for it-dary!
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
|
Re: How to Block Website without any Software
Yeah, there is no logic in changing the last octet. The whole range is the loopback adapter, and invariably all are going to connect to the same localhost machine.
@it_waaznt_me
Thanks for the tip, it sounds useful
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
|
|
|
04-05-2008, 09:40 AM
|
#10 (permalink)
|
|
The Devil's Advocate
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,019
|
Re: How to Block Website without any Software
badey badey words use kar raha hai, college mein kal sikhe aur aajidhar type kar diye
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach
http://beingmanan.com
twitter: manan | Last.FM: manan
|
|
|
04-05-2008, 12:16 PM
|
#11 (permalink)
|
|
Wise Old Owl
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
|
Re: How to Block Website without any Software
Yeah, This method will work. In Linux the file is "/etc/hosts". You can add the sites you want to block in the file.
The method suggested by @Rohan_Shenoy will also work in IE. But these restrictions can be easily broken, if any person
knows these tricks!!!
The best way to block a site is my Kernel-level programming in C/C++. Make this
program run as a TSR & also make it invisible from all the System processes!!!
So the program will run silently, won't be listed in the processes running & can't
be stopped or hacked easily!!!
__________________
* Imagination is more important than knowledge.
-Albert Einstein
|
|
|
07-05-2008, 09:24 AM
|
#12 (permalink)
|
|
In The Zone
Join Date: Nov 2005
Location: pune
Posts: 468
|
Re: How to Block Website without any Software
thanks
|
|
|
08-05-2008, 10:00 AM
|
#13 (permalink)
|
|
Fullbring
Join Date: Jan 2008
Location: Soul Society
Posts: 5,531
|
Re: How to Block Website without any Software
This method is good w/o any software....
but 4 blocking 100 sites or more...  we have 2 use a software....
I use hostmans its free & very nice features.....as compared 2 others...
__________________
I'm the One you've been Waiting for...
|
|
|
08-05-2008, 01:25 PM
|
#14 (permalink)
|
|
Alpha Geek
Join Date: Jan 2007
Location: In your hearts
Posts: 828
|
Re: How to Block Website without any Software
that's a good method.
|
|
|
11-05-2008, 01:28 PM
|
#15 (permalink)
|
|
In The Zone
Join Date: Feb 2007
Posts: 353
|
Re: How to Block Website without any Software
its nt working for me....
|
|
|
11-05-2008, 03:21 PM
|
#16 (permalink)
|
|
QA Juggler
Join Date: Aug 2004
Location: format c: /s/u/x
Posts: 801
|
Re: How to Block Website without any Software
well ddnt knew about it..and works great for me..tryed opening with IE/Opera/GreenBrowser..etc .....It Works ...Thx a lot
__________________
8-) सारोमान :!: :!: :!:
|
|
|
11-05-2008, 03:29 PM
|
#17 (permalink)
|
|
Legen-wait for it-dary!
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
|
Re: How to Block Website without any Software
@Jguru
How would you block a site using low level programming? check for the window class and close the window if the url was found? or hook some function? Please post as it may be useful for people.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
|
|
|
11-05-2008, 05:42 PM
|
#18 (permalink)
|
|
Right Off the Assembly Line
Join Date: May 2005
Location: Bangalore
Posts: 40
|
Re: How to Block Website without any Software
This is not working for me.........
|
|
|
12-05-2008, 08:53 PM
|
#19 (permalink)
|
|
Fast 'N' Furious
Join Date: Jul 2006
Location: Geek's Heaven
Posts: 11,169
|
Re: How to Block Website without any Software
Old method
|
|
|
12-05-2008, 10:29 PM
|
#20 (permalink)
|
|
This.. Is.. Sparta..!!
Join Date: Jan 2008
Posts: 46
|
Re: How to Block Website without any Software
that was of great help!
__________________
“Be peaceful, be courteous, obey the law, respect everyone, but if someone puts his hand on you, send him to the cemetery.” That’s what Malcolm X used to say.
http://likeweb.blogspot.com
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|