How do I block out myspace.com completely from a computer?

bmacd

Lifer
Jan 15, 2001
10,869
1
0
No, I'm not a recovering myspace addict ;-) A friend is getting into some serious trouble on myspace and I need to permanently block the site. Would I modify the hosts file somehow?

Bill
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
some routers will block sites. If yours doesn't a quick smoothwall box would enable that.

You could add and entry to the hosts file (C:\Windows\system32\drivers\etc\hosts for XP) as well, but that is easily bypassed
 

gsellis

Diamond Member
Dec 4, 2003
6,061
0
0
Originally posted by: nweaver
some routers will block sites. If yours doesn't a quick smoothwall box would enable that.

You could add and entry to the hosts file (C:\Windows\system32\drivers\etc\hosts for XP) as well, but that is easily bypassed
Just what I was thinking. Set myspace.com to the IP of landoverbaptistchurch or some other site. Ha, or set it to AOL's main.

 

cubby1223

Lifer
May 24, 2004
13,518
42
86
I'd just set the hosts file so myspace goes to 127.0.0.1, having it go to an alternate web site is just too suspicious. People generally do not know what the hosts file is & how to edit it or get around the entries.
 

jlbenedict

Banned
Jul 10, 2005
3,724
0
0
Gives us more details about the scenerio..

Is the user on their own system, or using your system? Also, what type of account is used? (Administrator, power user, regular ole joe user, etc)..

If they are just a regular old user, you could add myspace as a restricted site in Internet Explorer.. Only an administrator account would be able to delete it after that point..

The only thing about using the host file trick is, if the person is well versed in how this works... they could always use nslookup (or www.dnsstuff.com) and find out the ip for myspace..

 

bmacd

Lifer
Jan 15, 2001
10,869
1
0
this is for a 14 year old who is not very knowledgeable about computers. I'm confident he does not have the slightest idea what a host file is. He is a regular user, and I am an admin on the same machine. We are using a wireless router with the ability to set gateway settings, but I have never done so before.

Thanks for your help thus far.

Bill
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
Easy. Disable his account on the machine. It sounds like he hasn't earned the privilege to use a computer, unless it's with supervision.
 

Nick5324

Diamond Member
Aug 19, 2001
3,267
0
0
Another vote for a quick edit of the hosts file. However, just b/c this 14 yr. old won't know what is going on, there is a reasonable chance he or she knows someone who will figure it out. Eh, I'd edit the hosts file and take other steps only if it becomes a problem again.
 

minibubba

Junior Member
Aug 22, 2006
18
0
0
personally I would just edit the hosts file and have myspace point to 127.0.0.1 so all connections simply time out, and then set the hosts file as read-only. Note that you have to have lines for each of myspace's subdomains as well. simply rerouting myspce.com wont block everything. The hosts file doesn't accept wildcards either. There may be more subdomains, but this is what I cam up with in a quick google search:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# 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:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

# Blocking MySpace:
127.0.0.1 myspace.com
127.0.0.1 www.myspace.com
127.0.0.1 www1.myspace.com
127.0.0.1 classifieds.myspace.com
127.0.0.1 viewmorepics.myspace.com
127.0.0.1 login.myspace.com
127.0.0.1 profile.myspace.com
 

Lord Evermore

Diamond Member
Oct 10, 1999
9,558
0
76
After so long, why the hell doesn't the hosts file accept wildcards in every OS yet, make it a standard for implementation?

Yeah I suppose there's some technical reason that it would be more complicated, but I'm sure it could be easily done, and it seems so OBVIOUSLY useful.

Back on topic, don't let him use the computer if he's "getting into trouble" with it and it's your machine. If it's not your machine, then who are you to say what he can or can't do, unless his parents have asked you to do this.
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
You should get some type of firewall that upon detection of MySpace header code it will terminate the socket. Not sure if they have customizeable stuff like that where you can enter in code. You can do it with Proxomitron. Just elminate all access to everything but your LAN and run the proxy on another PC. That's his only chance of using the Net is by that proxy. (With Proxomitron you can enter custom code filters.)
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Yep.

A lesson in minding his parents sounds like a much better thing to me then having computer access.

On a side note there is content filtering things like DansGuardian (Web proxy primarily targetted towards schools) http://dansguardian.org/?page=whatisdg
It's a excellent open source filtering system.

Some people use it for home stuff, but it's probably overkill.
 

corkyg

Elite Member | Peripherals
Super Moderator
Mar 4, 2000
27,370
239
106
If you have a software firewall, you can put myspace.com on the permanent denial list - ie., never allow access. Then you lock the firewall with a password so that only you can change that.

Drag's point is very well taken. Computer use and internet access is a privilege and not a right. Privileges are earned.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |