CDROM-Guide forums

Go Back   CDROM-Guide forums > Main Forums > Open to All Computer Related Topics > Computer Networking & Security
FAQ Calendar Mark Forums Read
Open   CSec   Data   DevDrv   CoOp   Audio   CDRW   CDG   VCD   DVD   HD DVD   Mac   VGB   PS2   DC   Xbox  

Thread Tools Display Modes
Old May 02, 2002, 05:59 PM
stinkin_thinkin stinkin_thinkin is offline
Join Date: Oct 2000
Posts: 92
Default Can I block a site from loading on my PC?

sponsored links

Although I pay 15 quid a month out of my own pocket for internet access my little sister is increasingly and rather annoyingly spending more and more time online. On my PC!
She checks some crap garage music message board. She stays on ages
However Ive noticed that when the site is down she gets her fat arse off my pc.
My question is can I block this site from loading like people block **** sites from loading? Is there some sort of file I can edit so it looks like the specific site is down as i would prefer not to install net nanny or any other software that would block any of the sites i might find of interest
Any advice would be much appreciated.
Old May 03, 2002, 07:33 AM
slinkygnu slinkygnu is offline
Join Date: Nov 2001
Posts: 64

If you use a firewall, block it from there. Zonealarm has this facility to block sites. Can't remember if you can password protect zonealarm to stop your sister changing the settings though.
Old May 03, 2002, 10:45 AM
uk_trader uk_trader is offline
Join Date: Dec 2001
Location: United Kingdom
Posts: 1,103

why block the site just block youe sister an put a password on the pc
Old May 03, 2002, 07:14 PM
stinkin_thinkin stinkin_thinkin is offline
Join Date: Oct 2000
Posts: 92

[i]Originally posted by uk_trader [/i]
[B]why block the site just block youe sister an put a password on the pc [/B]
Hi I don't really want to stop her using the pc because when I want a letter typed or something she may come in handy for menial admin tasks such as that, and she'd prolly refuse if all access to the pc was forbidden.

Surely there's a file I can edit so that when she enters it would come up page can not be displayed so she'd think the site was down and I could get on with some serious surfing.
Old May 04, 2002, 12:55 AM
zack371 zack371 is offline
Join Date: Jul 2000
Location: USA
Posts: 1,944

Search your computer for a file called [b]hosts[/b]

That is the whole name. No extension. Open it with Notepad. In it, you will see some examples. You need to do this. Skip one line after the bottom and type this:


Close the file.

That tells Windows basically that that particular site's IP address is is the special loopback address that always specifies your machine. You are bsaically telling Windows that the website to be blovked is located on your machine! You can do it as many times as you want. I have a customer that did that to an employee... He has over 200 addresses in there and they all point to It works great as long as the victim doesn't know too much about networking... Oh, and make sure you reboot after you edit the file. I just tested her on my XP laptop and it worked fine... didn;t even have to reboot. I think with Win9x you might have to though. Don't rememeber for sure.

Just make sure that each site is on its own line.
For example,


That would make all three of those sites inaccessible. Pretty basic, neat trick. And no software to buy. Give it a shot. If you need more info, just post it here.



Last edited by zack371; May 04, 2002 at 12:57 AM.
Old May 05, 2002, 09:03 AM
stinkin_thinkin stinkin_thinkin is offline
Join Date: Oct 2000
Posts: 92

Hi zack371

You are brilliant. This is exactly what I wanted.
Although I have a few questions. I am running Win98b and when I search for a file called hosts it has the extension .SAM Is this the file i have to edit? there is also one called LMhosts.sam.

I've opened hosts.sam with notepad and this is displayed.

# Copyright (c) 1998 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP stack for Windows98
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# # source server
# # x client host localhost

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hosting a site @ home computer Sikhmunda Open to All Computer Related Topics 0 Jun 06, 2004 01:46 PM
can you block access to a web site from pc ThisAndThat Open to All Computer Related Topics 3 Dec 12, 2003 04:20 PM
Firewall stopping me to go to certain site...?? [; ; win98SE] Knuc Windows 98 5 Jul 19, 2002 07:28 PM
A site is closing, is there anything that can be done chimpuk Open to All Computer Related Topics 3 Jul 02, 2002 08:07 PM
loading point site for cd-r's nan Video Game Backup - PS2 3 Jun 12, 2002 01:44 PM

All times are GMT -5. The time now is 11:20 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 1996-2009 All rights reserved