Security and usability - Google Chrome’s Incognito mode
Thursday, September 11th, 2008Shantanu tells us about Firefox’s Incognito mode and asks us to stop drooling over Google Chrome’s privacy mode labeled Incognito. Does Firefox have an Incognito mode? - Yes. Is it better than Google Chrome’s Incognito mode? - Hell no.
When it comes to the masses security is 80% usability and just 20% technology.
Picture the following 2 scenarios involving an imaginary but very plausible conversation with my very real and reasonably tech-savvy Dad (2 email accounts, has an Orkut profile, uses Linux once in a while, online banking, composes videos of family photos with narration etc… is he cool or what!)
Scenario 1 (Google Chrome)
[ Varun ]
- Dad open up Google Chrome.
- Click on the page icon at the end of the address bar.
- Select “New Incognito Window” from the menu options.
Whenever you do serious stuff such as online banking use this mode, OK?
[ Dad ] - Sure son! That’s easy. You are the bestest son ever!
Scenario 2 (Mozilla Firefox)
[ Varun ]
- Dad open up the Windows Run dialog.
- Type firefox -ProfileManager.
- Click on “Create profile”.
- Enter “Incognito” as the profile name.
- Hit Finish.
- Select “Incognito” from the list of profiles.
- Click on”Start Firefox”.
- Go to Edit >> Preferences >> Privacy.
- Select “Always clear my private data when I close Firefox”.
- Unselect “Ask me before clearing private data” and you are done.
[ Dad ] - My dear Varun, let me tell you about something called Google Chrome and something called the Incognito mode… Step 1 - Open Google Chrome….
Browsing is an everyday affair for a large chunk of the computer user population. Privacy mode should be an equally “everyday” affair and should not involve them having to change settings, create new profiles, shortcuts etc.
Another reason why I prefer Google Chrome over Mozilla Firefox is the safer process model. Even if one were to use the Firefox Incognito mode the individual tabs are not protected from each other and bad stuff like CSRF (cross-site request forgery) and XSS (Cross-site scripting) can still happen. In Chrome, by design, individual applications/websites are cordoned off from each other. I am sure it is not fool-proof but it is way better than all current browsers.
Lastly the Google Chrome Incognito mode is a read-only mode. It does not write anything to disk. No cache, no cookies, nothing. It’s default behaviour is secure and there is nothing you can do to change it. The Incognito mode will remain what it is on every Google Chrome browser, whether it is my home PC or work PC.
The Firefox Incognito mode outlined in Shantanu’s post still writes to the hard disk. The cleaning up is post-event and not by design. Also if you do exactly what is mentioned in that post you are still NOT cleaning up persistent cookies, offline website data (created by extensions) and saved passwords. You have to check a few more boxes to clean these up. If a hardcore geek like Shantanu (the dude writes well, hacks stuff and has a bunch of interesting-looking downloads on his blog!) can oversee these options imagine what it imagines for people who want their browser to just work.
Am I drooling over Chrome’s Incognito feature? - Not exactly but I _am_ impressed. When designing software especially end-user software think secure by design, think secure out of the box, think usability and think of my Dad-equivalent whoever it might be in your case.
P.S. - Dad if you are reading this do you agree with me?
EDITS - 2008-09-12 Chrome not resilient to XSS, just CSRF (Thanks Shantanu!)

Blogposts