 |
 |
blocking sites?
|
 |
|
 |
|
Senior User
Join Date: Jun 2006
Status:
Offline
|
|
i read on here a while back that in the apple stores that apple has blocked customers from browsing myspace. i would like to do the same thing at work and maybe youtube also. anybody got any idea how to do this? we're running 10.3.9 along with safari and firefox.
thanks!
|
|
imac g3 600
imac g4 800 superdrive
ibook 466
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Create firewall rules blocking outgoing connections to the IP(s) belonging to the site in question.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status:
Online
|
|
Add entries in your hosts file directing them elsewhere (like Google) or nowhere (like 127.0.0.1). That way you don't have to keep track of the (many) IPs that myspace/youtube/etc may use.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jun 2006
Status:
Offline
|
|
well, it looks like there is a solution for my question and thanks to both of you. unfortunately i have no idea how to do either one of those things. more detail?
create firewall rules?..... host files?........
|
|
imac g3 600
imac g4 800 superdrive
ibook 466
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
host files: There is a file in /etc called hosts that is a sort of override for the regular DNS. Google "/etc/hosts mac".
Firewall blocking rules: To add outgoing blocking rules, you either need to modify the config file or use a third-party firewall program. Try versiontracker.com and search for "firewall".
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status:
Online
|
|
Open up the file /etc/hosts with a text editor. It will look something like:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
Add the lines for the sites you want to block to the end of the file. Something like
127.0.0.1 myspace.com
127.0.0.1 youtube.com
if you want them to get 'nothing' when they go to those sites, or something like
72.14.207.99 myspace.com
72.14.207.99 youtube.com
if you want to send them to Google when they go to those sites.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
If you edit /etc/hosts, you will likely have to flush your DNS cache before the changes take effect.
To do so:
sudo lookupd -flushcache
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum 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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |