Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,815 members, 7,810,127 topics. Date: Friday, 26 April 2024 at 09:18 PM

How To Block Some Websites On A PC - Computers - Nairaland

Nairaland Forum / Science/Technology / Computers / How To Block Some Websites On A PC (24350 Views)

How Can I Block Some Sites From Loading On My System? / How Do I Block Some Websites And Chat Engine E.g. Yahoo Messenger, Skype Etc / Problem: Some Websites Not Opening With Starcomms (2) (3) (4)

(1) (Reply) (Go Down)

How To Block Some Websites On A PC by Ralvy(m): 11:09am On Aug 02, 2007
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


nerve.it@gmail.com

Re: How To Block Some Websites On A PC by New(m): 11:25am On Aug 02, 2007
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.
Re: How To Block Some Websites On A PC by Ralvy(m): 11:30am On Aug 02, 2007
@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.
Re: How To Block Some Websites On A PC by dejia(m): 11:55am On Aug 02, 2007
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?
Re: How To Block Some Websites On A PC by Ralvy(m): 12:02pm On Aug 02, 2007
@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*
Re: How To Block Some Websites On A PC by rowlandwhy: 12:53pm On Aug 02, 2007
@Ralvy
so you watch porn on your PC?
Re: How To Block Some Websites On A PC by Ralvy(m): 12:57pm On Aug 02, 2007
Are you dumb

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
Re: How To Block Some Websites On A PC by Carlosein(m): 6:49pm On Aug 02, 2007
eh ralvy, i think the guy just asked a question even though he should have looked/read b4 posting.

thanks for the tip anyway. cool
Re: How To Block Some Websites On A PC by otuonye(m): 7:20pm On Aug 02, 2007
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
Re: How To Block Some Websites On A PC by damzell(f): 1:42am On Aug 03, 2007
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
Re: How To Block Some Websites On A PC by holythug(m): 8:46am On Aug 03, 2007
good ones
Re: How To Block Some Websites On A PC by Ralvy(m): 8:51am On Aug 03, 2007
holythug:

good ones

@holythug;

wink cheesy grin
Re: How To Block Some Websites On A PC by Nobody: 12:24pm On Aug 03, 2007
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
Re: How To Block Some Websites On A PC by alexis(m): 11:14pm On Aug 04, 2007
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.
Re: How To Block Some Websites On A PC by mamaput(f): 5:21pm On Aug 05, 2007
I would rather like to know how to block websites from visiting me.
am fed up of all the stubbon popups
Re: How To Block Some Websites On A PC by Ralvy(m): 5:40pm On Aug 05, 2007
mamaput:

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*
Re: How To Block Some Websites On A PC by mamaput(f): 5:52pm On Aug 05, 2007
explorer.
funny how non are comming right now but most of the time i get up to 20 sides opening up
Re: How To Block Some Websites On A PC by Ralvy(m): 6:03pm On Aug 05, 2007
U didnt gimme full explantion, what are they related to??
Adult ads, antiviruses
Re: How To Block Some Websites On A PC by mamaput(f): 6:09pm On Aug 05, 2007
both and then some stupid ones with games. eg beat the xmas man to drinking.
Re: How To Block Some Websites On A PC by Ralvy(m): 6:38pm On Aug 05, 2007
I wuld get bk tu u*
Re: How To Block Some Websites On A PC by Ralvy(m): 6:06pm On Aug 11, 2007
No Shareware mister,

Freeware pls, we're all Free men* cheesy wink
Re: How To Block Some Websites On A PC by latbabs(m): 8:49pm On May 10, 2009
kudos to you all!!!!!!!!!!!!!!!, may we not be tired,
Re: How To Block Some Websites On A PC by hunter14: 10:23am On Sep 17, 2011
@Ralvy m, guy. you're da bumb, thanks cos the stuff worked for me, cheesy cheesy cheesy
Re: How To Block Some Websites On A PC by Skywalker5(m): 1:40pm On Jun 07, 2012
dejia: 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?

What do you mean all failed? There is no such thing as 100% security. Viruses will always find their way through unless you lock down sites which i am sure you wont want to do. I use kapersky at work but sometimes viruses find thier way through and i use the trial version of Malwaybyte to find it. That is very good but its only a free trial available. you can contact them if you want to buy and deploy to your workstations
Re: How To Block Some Websites On A PC by Skywalker5(m): 1:42pm On Jun 07, 2012
Ralvy: 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


nerve.it@gmail.com

Nice one man. Even me working in IT did not know about this. i dont think you can deploy this using group policy?

(1) (Reply)

8 Laptop Components You Should Know / Visafone Internet Configuration! Help / Top Ten Best Antivirus In The World

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 28
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.