 |
 |
restrict web browsing to opt-in via /etc/hosts?
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jun 2000
Status:
Offline
|
|
i'm aware that you can use the /etc/hosts file to 'filter' out web sites you would not like a user of your computer to use, for example by adding the line
127.0.0.1 www.microsoft.com
with the effect that the computer will be able to go to every site on the web except what you specify in the hosts file.
my question: is there any way to do the reverse, i.e. restrict the computer so that it can only navigate to specified web sites, and no others?
tia for any tips,
ox
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status:
Offline
|
|
why not use IPFW to do that?
|
|
signatures are a waste of bandwidth
especially ones with political tripe in them.
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status:
Offline
|
|
If the screenshots at AppleInsider are anything to go by, the next version of OS X will include this as a feature for Safari (and maybe other browsers??) - you will have the option to restrict access to sites that you have added to a "whitelist" and any others will be blocked. Addition of new sites to the whitelist will require you to enter an admin password. I assume this is for greater parental or workplace control.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jun 2000
Status:
Offline
|
|
JKT - looks interesting but I'd rather not wait until Tiger!!!
Kristoff, can you provide any more specific instructions on how to configure IPFW?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status:
Offline
|
|
allow macnn:
ipfw add allow tcp from any to forums.macnn.com 80
drop everything else:
ipfw add drop tcp from any to any 80
|
|
signatures are a waste of bandwidth
especially ones with political tripe in them.
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jun 2000
Status:
Offline
|
|
kristoff - i really have no experience though using ipfw; am I correct in assuming that those two lines should go in /etc/ipfw.conf?
is there anything else one should know about ipfw?
are changes made to ipfw.conf instantly reflected, or is a reboot of ipfw (or the entire computer) necessary?
with continued thanks,
ox
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

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