TechRepublic : A ZDNet Tech Community

Microsoft Windows

Host: Mark Kaelin
Contact

How do I ... block access to Web sites with ProCon Latte?

No matter your reason, there are times when you need to be able to block access to certain Web sites. The biggest problem with this process is keeping users from viewing the thousands upon thousands of black-listed sites you do not want them to see. A better solution is to employ a white list of sites that only allows users to see the sites that you have configured to allow them to see.

There are plenty of applications out there that will allow you to control browsing via white lists. But none of them is as simple and as effective as ProCon Latte.

Of course, you might be asking yourself, “What good is a Firefox add-in to block users when the users can simply disable it?” Fortunately, the developers of ProCon Latte have thought of this as well. You can password protect this white-list filter so that only authenticated users can change the settings or disable the plug-in.

And ProCon Latte is cross-platform ready with install candidates for Linux, Windows, and Mac, and it works with Firefox 2.x - 3.x.

This blog post is also available in PDF format in a free TechRepublic download. A previous version of ProCon Latte is available from the TechRepublic Software Library.

Getting and installing

As you would expect, installing ProCon Latte is as simple as installing any other Firefox extension. You visit the ProCon Latte extension page, click on the Add to Firefox button, agree to the license agreement, and restart Firefox when prompted.

What to do now?

The first thing you need to do is open up ProCon Latte. To open up the Latte window, go to the Tools menu and select ProCon from the list. This will open the main window where you can take care of your configuration (Figure A).

Figure A

Upon installation, the only aspect of ProCon Latte that is enabled is the Explicate Material Filter.

General settings

In the General Settings window (Figure B), there are plenty of options. You can immediately see, in the left pane, the status of each of the filters.

Figure B

If you see a green check by the status of a filter, it is enabled.

In the General Settings window, there are three particular settings you want to take care of right away:

  • Set Password
  • Prevent from Being Disabled or Uninstalled, and
  • Lock about:config

In order to set a password, click the Set Password button and enter the password twice. Once you have done this, the user will have to enter the password in order to open the ProCon Latte window.

But don’t think you are finished with locking this down simply because a password has been set. The smart user could enter “about:config” in the URL bar, search for the ProCon entry, and disable it from there. Fortunately, you can disable the ProCon entry from about:config.

You will also want to check the Prevent from Being Disabled or Uninstalled entry. This will keep your users from opening the Addons window and disabling ProCon from the list of installed Addons.

Set up your white list

To set up your white list, all you have to do is go to the White List tab and configure the sites you want to allow. You will see three sites already included in the list (Figure C). First you must actually enable this feature by clicking the Enable Whitelist check box. There are two ways to add a site to your white list. You can either hit the Add Current Site button or type the URL (one URL per line) in the text area.

Figure C

Once enabled, only the sites in this list will be available to the user.

After you are satisfied with your white list, click the OK button to finish. Now Firefox can visit only those particular sites.

There is another way to add sites to your white list that is even easier. From the General Settings window, if you select Enable Right-click Adding to Whitelist, you can then right-click anywhere on a Web site and you will see a new ProCon menu entry. From this new menu entry, you can select Add Current Page to Whitelist to immediately add the page.

If you want to block all traffic except white-listed sites, you will need to go to the Main Filter tab of the options window and select the entry Secure.

Various filters and settings

ProCon Latte contains a few other filters. You can enable a profanity filter that will allow you to enter single words (one per line) to filter. You also have to make sure you enable this filter before it will work.

There is also an explicit material filter that allows you to block Web sites based on key words. In this window you simply click on key words (such as Adults Only) and add them to the list. Once these sites are added, ProCon Latte will filter out any content based on those key words.

You can also enable specific messages that will be displayed when a user has attempted to visit a forbidden site. This is done in the Main Filter tab of the Settings window. If you don’t want to just display a message, you can choose to redirect to another page all together. This is done in the same window.

Final thoughts

If you are looking for a tool to filter Web traffic for users but you don’t want to add third-party software, the Firefox add-on, ProCon Latte, is a simple solution that allows you to easily set up filters based on white lists, explicit material, and profanity. Of course, if you’re looking to deploy this on a large scale, this would require imaging or creating a custom installation script. If you’re looking for a smaller deployment, installing ProCon Latte is a simple solution to a challenging problem.

Stay on top of the latest XP tips and tricks with TechRepublic’s Windows XP newsletter, delivered every Thursday. Automatically sign up today!

Jack WallenJack Wallen is the host of the TechRepublic open source blog as well as a regular writer in the "10 Things..." and the "How Do I..." blogs. Previously, he worked at TechRepublic as the Editor in Chief of Linux content and was integral in creating the original Linux portion of TechRepublic. Jack has been using and advocating the Linux operating system for over ten years now and will continue his zealotry until the penguin finally reaches its goal of world domination. Read his full bio and profile.

Print/View all Posts Comments on this blog

Are you blocking Web sites? Mark W. KaelinTechrepublic Moderator | 05/18/09
Another solution liviumacoviciuc2000@... | 05/18/09
Web Site Access jc2it | 05/21/09
Windows has a firewall BALTHOR | 05/18/09
Uninstall google Jacky Howe | 05/18/09
RE:Windows firewall macgvr | 05/21/09
IPCOP Mod on the LAN The 'G-Man.' | 05/19/09
RE: How do I... Block access to Web sites with ProCon Latte? macgvr | 05/21/09
My office where my father works uses Dumphrey | 05/21/09
Re:My office where my father works uses macgvr | 05/21/09
Another solution...OpenDNS Aaron McVanner | 05/21/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now
Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now

SmartPlanet

Click Here