There are several methods to eliminating spyware threats. Using the Firefox browser in conjunction with several extensions can secure your browsing experience from nearly any threat posed. But what about other browsers? What about wanting further control over the web?
PrivoxyBefore we take a closer look at Privoxy it's necessary to take a brief glance at what a proxy is.
Proxy servers are allow users to make indirect connections to other networks (i.e. the internet). For example, in my building when making a web query
packets go from my computer to the proxy server then out on the web. Reply packets come back through the proxy server then onto my workstation. What this does is allow you to control everything that comes or goes through your computer (or in my case the entire building).
Privoxy specializes in removing invasive cookies, javascript (popups are a good example here) and advertisements. Privoxy can be modified via "action" and filter files to do further filtering of any website content. Example:
#################################################################### all-popups: Kill all popups in JavaScript and HTML###################################################################FILTER: all-popups Kill all popups in JavaScript and HTMLs/((\W\s*)(window|this|parent)\.)open\s*\\?\(/$1concat(/ig # JavaScripts/\starget\s*=\s*(['"]?)_?(blank|new)\1?/ notarget/ig # HTMLThis is a powerful feature of Privoxy. Even though the base application hasn't been updated since 2004 users have been editing action and filter files to keep up to date with the latest techniques used by malicious webdesigners.
Go ahead and download
Privoxy for Win32. Once it's installed, you will need to point your browser to Privoxy. With Firefox this is done by clicking
Tools >
Options >
General >
Connection Settings and setting the proxy to
127.0.0.1 with a port of
8118. Internet Explorer is
Tools >
Internet Options >
Connections >
LAN Settings and set the proxy address to
127.0.0.1 and the port set as
8118. Once this is done you can test it by entering "
http://config.privoxy.org" into your browser. You should see the message "
This is Privoxy 3.0.3 on localhost (127.0.0.1) , port 8118, enabled." If you don't see that message, you will need to double check the proxy settings in your browser or make sure Privoxy installed without any errors.
Editing Privoxy is simple. Right-click the little icon (green circle with a 'P') and under
Edit you will find the various action and filter files. They are well documented although I would recommend that you have a little experience with editing configuration files before playing with the settings.
If your home or building already has a proxy server onsite you will need to instruct Privoxy to forward information to it. This is done by editing the Main Configuration file. Find section five as shown below and edit it with the address to the other proxy:
# # 5.1. forward# ============# ...forward / 10.0.0.1:8080In this case I'm telling Privoxy to forward ALL data through to the proxy server running at 10.0.0.1 port 8080. You can instruct Privoxy to only forward certain data to certain places (i.e. SSL to 10.0.0.1:8081) but more than likely you won't have to deal with it.
After Privoxy is installed and configured the next step is simply start browsing. You'll notice popups are removed, ads are cut down, and javascript isn't as intrusive. When Privoxy is used in conjuction with Firefox and extensions such as Ad-block surfing the web is an even more secure experience. If you use Internet Explorer Privoxy is heaven-sent, you could not ask for a better way to prevent the spyware that plagues IE users.
I do hope in the near future that Privoxy development resumes at a brisk pace. It's a fantastic piece of software that's easy to use and extremely powerful. It's a shame to see it gathering mothballs in the corner of the open-source community.