Re: How to block all but allowed-list web sites?
Re: How to block all but allowed-list web sites?
- Subject: Re: How to block all but allowed-list web sites?
- From: Andrew Oliver <email@hidden>
- Date: Thu, 05 Jun 2003 11:44:42 -0700
AppleScript isn't ideally suited to this task.
About the best you can do is have a script periodically (say, every 30
seconds) check the URL of the each browser window and cross-reference it
with your list.
If the URL doesn't match you could close the window but this is more of an
annoyance for the user than proactive filtering - they might not be aware of
why the page suddenly disappears. In addition, 'blocked' pages could be on
screen for up to 30 seconds (or whatever your check interval is) before it's
closed.
Additionally, it would have to run as a process on the system and any
competent user would be able to quit the process, completely disabling any
filtering.
So, within those limits it can be done relatively easily, but a more robust
model would involve the use of a proxy server that filters traffic on a
network level, preventing the sites from ever appearing on the client
systems.
Whether a proxy server would work for you or not depends on your network
topology, and whether you have a server that can act as a proxy or not.
Then, of course, there's the internet content filters such as NetNanny,
SurfWatch, etc. which run locally on each system and can block content to
specific sites (or allow only specific sites). I don't know the status of
these as far as Mac OS X is concerned, but they might be another
alternative.
Neither the proxy server or content filter would be as cheap as a
roll-your-own AppleScript that checks URLs, but they do offer more complete
solutions.
Andrew
:)
On 6/5/03 10:16 AM, "drcaggiano" <email@hidden> wrote:
>
I am trying to develop: something that
>
can block all but sites from an approved list.
>
>
For instance, a trucking company wants user sto be able to use mapquest
>
and any subsites,but nothing else.
>
>
could applescript be adapted somehow for this?
>
>
If not super easy I am looking to hire someone on a contract basis to
>
develop such a script
>
thx
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.