If you’ve been using that other browser or perhaps not feeling comfortable with Safari 4 beta’s poor cookie-handling/privacy options, feel free to take Mozilla Firefox for a spin. Regardless if you’ve been using Firefox for a few weeks or since way back when it was called Phoenix, the following suggestions will help you make Firefox a more secure option to browse the web! And no…I don’t work for Mozilla. ;-)

“Out of the box,” Firefox is a pretty secure web browser. But there are a few tweaks in the program’s preferences, coupled with a few add-ons that will really lock down and secure the browser. I’ll start with Firefox’s own preferences first.

Preferences

Open Firefox’s preferences by going to Firefox → Preferences (Mac), Tools → Options (Windows), or Edit → Preferences (Linux). The following instructions are specific to Firefox 3.1 beta3, but very similar instructions apply to older versions of Firefox.

Privacy

Firefox privacy settings

Select the Privacy tab (click on left image) to make changes to your History, Cookies, and Private Data settings. You may want to reduce the number of days your history is kept or remembered. The default settings keep your browsing history for 90 days, which I think is a little over-the-top (I like 9 days). Keeping your history for a few days or so will make using the location bar more convenient as the new Smart Location Bar (AKA Awesome Bar) “will try to guess where you are trying to go, based on where you have been.”

To really get a handle on the whole good cookie/bad cookie thing, Firefox allows you to not accept third-party cookies and blow away all of your cookies at the end of your session when you exit the program. FYI, Firefox and Opera are the only two browsers, according to Steve Gibson, of the Gibson Research Corp., that are capable of blocking outgoing cookies.

In the Privacy tab, uncheck “Accept third-party cookies” and choose “Keep until: I close Firefox” under the Cookies area. Under Private Data, check “Always clear my private data when I close Firefox” and click on the “Settings” button. In the new window (img), check everything except “Visited Pages” and “Download List” if you’re really concerned about your privacy. With “Visited Pages” unchecked, you’re history will be removed according to the number of days set in the Privacy tab and not after each session (exiting the program). In addition, starting with version 3.1 and later, Firefox will allow you to browse the world wide tubes in Private Browsing mode for when you decide to surf for pr0n  learn about relieving hemorrhoid pain browse the web somewhat anonymously. ;-)

Security

Firefox security settings

Select the Security tab (click on left image) to make changes to how Firefox deals with malicious web sites, passwords, and warning messages. By default, all the malicious web site options are checked. I leave the passwords options unchecked, as I use 1Password for the Mac. Firefox does provide you with a Master Password option should you decide to let Firefox remember your passwords.

There’s one little tweak that I recommend under the Warning Messages section. Click on the “Settings” button and in the new window (img), check the box that says “I leave an encrypted page for one that isn’t encrypted.

Firefox Security Add-ons

There are hundreds of security and privacy add-ons for Firefox. You can literally spend about 4 days looking through and playing with all of these things, so (because I’m a nice guy) I’m going to feature, what I think, are five must-have add-ons to help increase the security of Firefox.

Adblock Plus

Adblock Plus

Wladimir Palant’s Adblock Plus…um…well…blocks ads! After installing the add-on (and restarting Firefox), you’ll be asked to subscribe to a list of ad-blocking options. I highly recommend the EasyPrivacy subscription (img), which combines the general ad-blocking subscription (EasyList) with a list that will help prevent cookie/history-tracking during your browser session (EasyPrivacy). To do this, go to the Known Adblock Plus subscriptions page, scroll down a ways, and click on the link that says “Subscribe: EasyPrivacy+EasyList”. This list will automatically stay updated; you need to do nothing else…nice. If you’re really anal-retentive about blocking ads or other page elements not blocked by the subscription(s), check out Wladimir’s Element Hiding Helper.

NoScript

NoScript

Giorgio Maone’s NoScript is arguably one of the best add-ons to help make Firefox more secure. Like most browsers (except Google Chrome), Firefox allows you turn off JavaScript; JavaScript being dynamic code that is often used as a means [by third party sites or on a hacked web site] to perform malicious acts through your web browser. The problem, however, is that by disabling JavaScript you “turn off” a great deal of functionality/features that a given web site may offer. Enter NoScript.

NoScript offers three unique features that protect you from malicious code (run on a web site you visit without your knowledge): (1) temporary whitelists, (2) disabling JavaScript code originating from third-party sites, and (3) clickjacking prevention.

Since NoScript is so powerful and based upon building up a whitelist of web sites you deem safe to run JavaScript [no site is ever really safe], it can be a little annoying at first, but stick with it. By temporarily allowing top-level sites (img) by default and setting the option to “Base 2nd level Domains” and turning off notifications (img), you will often forget you’re even using it.

Third-party Cookies

Although wiping out your cookies after every session and blocking third-party cookies can help make your browsing experience more private, there is such a thing as…(queue the timpani) “super-cookies!” Super-cookies (AKA Local Shared Objects) are like “regular” cookies and:

As with cookies, online advertisers could use LSOs for tracking purposes. The average internet user who may be aware of the potential privacy concerns of cookies are usually unaware of LSO’s.

Feel free to install and try Objection or BetterPrivacy to help you manage and/or kill these things.

Awareness

Locationbar2 example

Locationbar2 isn’t an active security/privacy add-on per se, but makes you more aware of what’s going on in the URL/locationbar of Firefox. In other HTML, it can highlight/emphasize the top-level domain of the website your visiting. By doing so, the hope is that you’ll be more aware of the web site you’re visiting and more likely to notice any potential phishing threats, as phishing site URLs (i.e. “www.wel1sfargo.com”) tend to differ from the “real” web site URL (“www.wellsfargo.com”) by a letter or number. Notice the 1 in the first URL? Feel free to check out how I set my Locationbar2 preferences (img).

Well, my hope is that this exhaustive look informative post has provided you with a good place to start if you’re concerned about your privacy and security on the “interwebs.” Have additional advice or favorite add-ons? Post ‘em in the comments!

Bookmark and Share

Although there’s 2,146 Twitter applications/tools, some of us always go back to the basics when we feel the itch to tweet. The only downside is that “power tweeters” feel that the vanilla Twitter.com interface is lacking certain functionality. Well, most of the features mentioned in the previous link are already available through the power of JavaScript at userscripts.org.

If you use the Firefox web browser, for example, you can easily install a nice little add-on, called Greasemonkey. This add-on allows you to run site-specific JavaScript to enhance the look, feel, and functionality of just about any web page. So, I have jumped on the monkey-greasing bandwagon and provide 10 Twitter Greasemonkey scripts, including one written hacked by yours truly, “Twitter Highlight Retweets.” The titles are pretty self-explanatory and [unlike several scripts I've downloaded] these actually work…without further ado:

Supercharge your Twitter

  1. Twitter Friends Bio at a Glance
    http://userscripts.org/scripts/show/38797
  2. Twitter – Retweet This
    http://userscripts.org/scripts/show/43910
  3. twitter hashtags
    http://userscripts.org/scripts/show/24528
  4. Minify URLs for Twitter
    http://userscripts.org/scripts/show/28707
  5. Twitter Display Popular Trends
    http://userscripts.org/scripts/show/39353
  6. Twitter Pagination
    http://userscripts.org/scripts/show/41883
  7. Twitter Searchs and Tools
    http://userscripts.org/scripts/show/39391
  8. Twitter Display Name Mod
    http://userscripts.org/scripts/show/7731
  9. twitter highlight replies
    http://userscripts.org/scripts/show/41433
  10. Twitter Highlight Retweets
    http://userscripts.org/scripts/show/44121

Bookmark and Share

Apple recently released Safari 4 Beta for the Mac and PC. I was excited at first, but after taking it for a spin, I was left feeling disappointed. I wasn’t hoping for a slew of add-ons, like the Mozilla folks have, but better privacy and security functionality.

Privacy and Security Issues

Apple seems to have fixed the fraudulent sites filter/warning bug, which is good. In the past, I have seen an error message telling me that the service is out of date and Safari would crash something awful until this option was unchecked. Here’s my beef:

  1. No visual cue (can be subtle) that you’re using the browser in Private Mode, unlike Firefox. You certainly might not want it broadcasted that your browsing privately, but a visual cue would be welcome.
  2. Cookie management still sucks. Despite Safari being the only browser to have third-party cookies disabled by default, there is no way to easily automatically clear these [by default] after each session or set up exceptions like in Firefox (img).

    To clear all cookies, you can setup a keyboard shortcut (Option-Cmd-R) to Safari → Reset Safari… in the menu bar via System Preferences → Keyboard & Mouse → Keyboard Shortcuts → Application Keyboard Shortcuts, which I use before I quit Safari.

  3. Cookies are still sent and received when using Safari’s Private Browsing mode. Huh? The cookies are deleted after you quit Safari, but this behavior does not prohibit cookie-sharing during a session. FYI, Firefox and Opera are the only two browsers, according to Steve Gibson, of the Gibson Research Corp., that are capable of blocking outgoing cookies.
  4. Cookies are acquired (img) from sites that “magically” appear in Safari’s “Top Site” viewer, even if you have never visited that site. Not cool.

Pros

Thank God in heaven that Apple enabled zoom text only. IMHO, the user should have the option to keep images on sites the size at which they were intended to be viewed. Safari 4 beta does load pages and run JavaScript pretty fast. I have always thought that Webkit was better than Gecko under the hood. Safari’s squeaky-clean interface and new title-bar tabs certainly follow Apple’s minimalist mantra…which is nice. Plays nice with 1Password.

Cons

Safari 4 beta is a fatty-boom batty, memory hog. After perusing through the Safari 4 beta Apple forum, it seems Top Sites, history Cover Flow, and the top-tabs features are the likely culprits. On average, Safari 4 beta creeps up to 300+ MB RAM after several hours of use. Still no sorting of bookmarks , using 1Password requires a hack (it is beta), and privacy functionality is still crap (see above).

Just to be clear, not all cookies are bad [I enjoy a good peanut butter chocolate-chip from time to time]. Just the [often-times 3rd party] cookies that are used to track your every move over the course of your browsing session.

Rating

cookie cookie cookie cookie cookie

Full disclosure: Opinions expressed on penkapp.com are my own and not those of any organization with which I am affiliated. In no way am I associated with the development, design, creation, or production of software, hardware, gadgets, or media that I may review on penkapp.com.

Update: 17-Jun, 2009
After installing Safari 4, I still continue to get an error message telling me that the Google Safe Browsing Service is unavailable/out of date, but at least the browser no longer crashes. Also, I was concerned/confused as to why I would see a cookie for doubleclick.net in my cookie cache, despite having “Accept cookies only from sites I visit” checked. Kinda disappointing.

Update: 5-Jun, 2009
A recent article by C. Harwick, Safari 4’s Messy Trail, similarly mentions issues with Safari’s privacy functionality. Harwick’s complaints seem to be about Safari’s image/history caching habits and doesn’t mention anything about cookies. The article states that webpage previews and history items linger on your computer despite making the necessary changes in the browser settings. In my experience with the new beta, however,

  1. the “Remove history items” feature works as advertised
  2. ~/Library/PubSub/Feeds/” stores XML files for RSS feeds, not Top Site information
  3. and “/private/var/folders/*/-Caches-/com.apple.Safari/Webpage Previews/,” which stores webpage thumbnails for the coverflow history, AND your browsing history do get wiped out after selecting “Safari → Reset Safari…” from the menu bar

So, Safari’s a cache hog. No news, really.

Bookmark and Share