How To Block Some Websites On A PC

A Member? Please Login  
type your username and password to login
Date: October 06, 2008, 06:09 PM
246794 members and 145721 Topics
Latest Member: guynumberthirteen
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Computers (Moderator: uspry1)  |  How To Block Some Websites On A PC
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: How To Block Some Websites On A PC  (Read 4258 views)
Ralvy (m)
How To Block Some Websites On A PC
« on: August 02, 2007, 11:09 AM »

Block My PC From Visiting Sites

Hello Nairalanders,

I got a mail from a member in the forum saying he wants to block his computer from visiting some sites, and so I decided to post the procedures incase anyone needs similar asssistance, 

Get to System32 on your windows system.
For ease paste this into the address bar of an open windows on your computer provided Windows is installed on Drive C.

C:\WINDOWS\system32\drivers\etc (without quotes)

See "PIC1" for assistance*

Find the file "hosts" and remove the read-only attribute*

See "PIC2"

Apply and click ok to save*

Open the file with notepad,
Scrol to the bottom.

Put this number "127.0.0.1"
Give spaces and type in the website address

See "PIC3"

After this, Select Save

Don't forget to apply the read-only attribute.

Good Luck

NOTE: There is a more comprehensive method on my blog
http://www.nerve-it.blogspot.com

nerve.it@gmail.com


* PIC1.JPG (56.58 KB, 941x705 )

* PIC2.JPG (90.87 KB, 1024x768 )

* PIC3.JPG (75.12 KB, 770x534 )
New (m)
Re: How To Block Some Websites On A PC
« #1 on: August 02, 2007, 11:25 AM »

An easier non technical route is to click on tools in internet explorer -> click on the security tab -> click on restricted sites -> then click on sites and add the web address you wish to block.
Ralvy (m)
Re: How To Block Some Websites On A PC
« #2 on: August 02, 2007, 11:30 AM »

@New;

I know that method,
The difference is that some sites that have already been blocked by microsoft cannot be unblocked here, unless u use the method above*
2. When U get a virus, it adds so many links to anti-virus sites so you cannot access the ARV sites,
But u can delete the links to the antivirus sites using the method illustrated above.
dejia (m)
Re: How To Block Some Websites On A PC
« #3 on: August 02, 2007, 11:55 AM »

Thanks for the info ;

guys,
Can u recommend a very reliable anti virus? I run an internet cafe with a good traffic, i have tried Panda,e-scan,norton,avg,kaspersky,symantec,nod32, they all failed after 1 or 2 months.
   what can u recommend?
Ralvy (m)
Re: How To Block Some Websites On A PC
« #4 on: August 02, 2007, 12:02 PM »

@dejia

I would hav preferred it if you posted diz on an antivirus thread,

Al the same* I think it's weird that Kapersky, Nod32 and AVG failed u, I would still recommend these I have listed, configure them well and stay up to date,
The best for an Internet cafe now is AVG Internet Security, not the free edition*
Com' on man, give some stack to the creators, It only costs a few pennys*
rowlandwhy
Re: How To Block Some Websites On A PC
« #5 on: August 02, 2007, 12:53 PM »

@Ralvy
so you watch porn on your PC?
Ralvy (m)
Re: How To Block Some Websites On A PC
« #6 on: August 02, 2007, 12:57 PM »

Are you dumb Huh Huh Huh

Read, those are list of sites blocked by Microsoft, Read before Postin'*

Check ur PC to see if you do not have them listed there???
Carlosein (m)
Re: How To Block Some Websites On A PC
« #7 on: August 02, 2007, 06:49 PM »

eh ralvy, i think the guy just asked a question even though he should have looked/read before posting.

thanks for the tip anyway. Cool
otuonye (m)
Re: How To Block Some Websites On A PC
« #8 on: August 02, 2007, 07:20 PM »

Ravly,

What a good job you did there,  but there is something that is missing.

When I did it on my PC, the web browser [Internet Explorer] did not access the site directly.

Instead, it presented it as if I was searching for it. However, I still got entry into the site.

I think I would prefer the method the other guy gave us [although a lot of already know that method], because it blocks the site from showing in any way.

Joshua
damzell (f)
Re: How To Block Some Websites On A PC
« #9 on: August 03, 2007, 01:42 AM »

Undecided Undecided
Hey i didn't understand da method at the beginnin of this topic.

Anyone knows how to unblock websites if u do,plz inform me
Ralvy (m)
Re: How To Block Some Websites On A PC
« #10 on: August 03, 2007, 08:41 AM »

Quote from: otuonye on August 02, 2007, 07:20 PM
Ravly,

What a good job you did there, but there is something that is missing.

When I did it on my PC, the web browser [Internet Explorer] did not access the site directly.

Instead, it presented it as if I was searching for it. However, I still got entry into the site.

I think I would prefer the method the other guy gave us [although a lot of already know that method], because it blocks the site from showing in any way.

Joshua

I understand what u mean and Yes! It shows it as if u were searching* That is because a website has branches;
What I mean is that if u block www.yahoo.com, somebody trying to check his yahoo mail may use www.mail.yahoo.com and still gain access. So just use this for sites that do not have alternate links*
Thanks anyway! Wink

Quote from: Carlosein on August 02, 2007, 06:49 PM
eh ralvy, i think the guy just asked a question even though he should have looked/read before posting.

thanks for the tip anyway. Cool

No! haba, Rolandwhy is my Guy* Grin


Quote from: damzell on August 03, 2007, 01:42 AM
Undecided Undecided
Hey i didn't understand da method at the beginnin of this topic.

Anyone knows how to unblock websites if u do,plz inform me

What don't u understand and what site is blocked?
If a site is blocked from your computer and you need access to it.
Visit www.proxy2proxy.com and type the address in the box there,
This will make the server think you are accessing the site from another location.

Good Luck Grin Grin Grin
holythug (m)
Re: How To Block Some Websites On A PC
« #11 on: August 03, 2007, 08:46 AM »

good ones
Ralvy (m)
Re: How To Block Some Websites On A PC
« #12 on: August 03, 2007, 08:51 AM »

Quote from: holythug on August 03, 2007, 08:46 AM
good ones

@holythug;

 Wink    Cheesy    Grin
oyb (m)
Re: How To Block Some Websites On A PC
« #13 on: August 03, 2007, 12:24 PM »

alternatively,
you can install

mcafee site advisor

or

crawler web security guard.

these apps proactively warn /block your browser from accessing dangerous sites.
site advisor only works with IE and firefox, though
alexis (m)
Re: How To Block Some Websites On A PC
« #14 on: August 04, 2007, 11:14 PM »

The 'hosts' file in C:\WINDOWS\system32\drivers\etc acts like a local DNS, it basically maps the local loopback interface 127.0.0.1 to any name. This means that you can direct any hostname or domain prefix to your loopback interface.

This is useful in blocking sites i.e malware sites, unwanted ads etc. That been said, there are other efficient ways in tackling this same problem. In a client-server evironment, the best way is to employ some proxy server setup. Squid proxy server is excellent at doing this - You can block sites or IPs and even viruses and the good thing is that it is free. When used with linux iptables, you can create simple ingress rules that can make your network virus free.

Also, running a local DNS can also solve this problem, you can create views that can allow your local client see different sites based on were they are coming from. Check the BIND manual for more details.

As a lover of open-source, I will recommend http://www.clamwin.com/, it is an excellent project and of course - free.
mamaput (f)
Re: How To Block Some Websites On A PC
« #15 on: August 05, 2007, 05:21 PM »

I would rather like to know how to block websites from visiting me.
am fed up of all the stubbon popups
Ralvy (m)
Re: How To Block Some Websites On A PC
« #16 on: August 05, 2007, 05:40 PM »

Quote from: mamaput on August 05, 2007, 05:21 PM
I would rather like to know how to block websites from visiting me.
am fed up of all the stubbon popups

lolzzzz, Let me know what browser u are using and I'll send u a link to download a relaibale pop-up blocker, thats if ur browser dosen't have 1. Let me know the kind of pop-ups that u see, it'll help me know weather, there's sth behind it*
mamaput (f)
Re: How To Block Some Websites On A PC
« #17 on: August 05, 2007, 05:52 PM »

explorer.
funny how non are comming right now but most of the time i get up to 20 sides opening up
Ralvy (m)
Re: How To Block Some Websites On A PC
« #18 on: August 05, 2007, 06:03 PM »

U didnt gimme full explantion, what are they related to??
Adult ads, antiviruses???
mamaput (f)
Re: How To Block Some Websites On A PC
« #19 on: August 05, 2007, 06:09 PM »

both and then some stupid ones with games. eg beat the xmas man to drinking.
Ralvy (m)
Re: How To Block Some Websites On A PC
« #20 on: August 05, 2007, 06:38 PM »

I wuld get bk tu u*
mamaput (f)
Re: How To Block Some Websites On A PC
« #21 on: August 05, 2007, 07:01 PM »

mistercute (m)
Re: How To Block Some Websites On A PC
« #22 on: August 11, 2007, 05:48 PM »

You can block any you website you deem unacceptable using Net Nanny www.netnanny.com
Ralvy (m)
Re: How To Block Some Websites On A PC
« #23 on: August 11, 2007, 06:06 PM »

No Shareware mister,

Freeware please, we're all Free men* Cheesy Wink
 Google Browser Challenges Microsoft: Google Chrome  Best (vsat) Internet Service Provider In Nigeria  Need Autocad Authorization Code (serial No. On The Cd Pack).  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.