PaulSpoerry.com

You found me… insights on technology, philosophy, Windows, hacking and more.
  • Home
  • Archive
  • Contact
  • Categories
  • Search
  • About

Offline GMail – Is it secure?

PaulSpoerry | January 29, 2009

Google Gears LogoGmail finally provided “offline” mode via Google Gears. So when Gears is enabled you can access your Gmail from your browser any time… even when you’re not online! Ok so that’s cool… but where does it store the data and is the data secure?

When a website attempts to interact with a gears datastore it uses uses the same origin policy as its underlying security model. In a nutshell, the policy permits scripts running on pages originating from the same site to access each other’s methods and properties with no specific restrictions — but prevents access to most methods and properties across pages on different sites. This means that a web page with a particular scheme, host, and port can only access resources with the same scheme, host, and port.

This means a site using Gears:

  • Database: Can only open databases created for that site’s origin.
  • LocalServer: Can only capture URLs and use manifests from the site’s origin.

The data is stored locally using a SQLite database. The downer is that your data within this database is NOT encrypted. Gears data files are protected with the user’s operating system login credentials. Users with separate login names cannot access each other’s Gears data files… but this is only enforced by the operating system.

If two users are sharing the same login to the operating system they could theoretically access each other’s Gears data files, just as they could access any other file on the machine.

UPDATE:

If you’d like to know where GMail’s datastores are located you can find them here:

Windows Vista

  • Internet Explorer: C:\Users\<user>\AppData\LocalLow\Google\Google Gears for Internet Explorer
  • Firefox: Database files are stored in the user profile directory. C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\{PROFILE}.default\Google Gears for Firefox
  • Google Chrome: Database files are stored in the user profile directory. C:\Users\<user>\AppData\Local\Google\Chrome\User Data\Default\Plugin Data\Google Gears

Windows XP

  • Internet Explorer: C:\Documents and Settings\<user>\Local Settings\Application Data\Google\Google Gears for Internet Explorer
  • Firefox: Database files are stored in the user profile directory. C:\Documents and Settings\<user>\Local Settings\Application Data\Mozilla\Firefox\Profiles\{PROFILE}.default\Google Gears for Firefox
  • Google Chrome: Database files are stored in the user profile directory. C:\Documents and Settings\<user>\Local Settings\Application Data\Google\Chrome\User Data\Default\Plugin Data\Google Gears

Mac OS X

  • Firefox: Database files are stored in the user profile directory. Users/<user>/Library/Caches/Firefox/Profiles/{PROFILE}.default/Google Gears for Firefox
  • Safari: ~/Library/Application Support/Google/Google Gears for Safari

Linux Firefox: Database files are stored in the user home directory. <user>/.mozilla/firefox/{PROFILE}.default/Google Gears for Firefox

Microsoft Windows Mobile Internet Explorer: Database files are stored in the Application Data directory. \Application Data\Google\Google Gears for Internet Explorer

Post to Twitter Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Related posts:

  1. Offline Gmail .2 – you can now specify a maximum size for the downloaded attachments
  2. Optimize FireFox’s SQLITE Database to Improve Performance
  3. Google Officially Releasing an OS – Google Chrome Operating System
  4. Google Turns IE into Chrome

Categories
GMail, Privacy, Tech, Web Life, iGoogle
Tags
Gmail, gmail security, google gears, offline gmail, offline gmail security, Privacy
Comments rss
Comments rss
Trackback
Trackback

« QTTabBar – Tabbed Browsing in Windows Explorer I’m a Red Hot Blog of the Day »

2 Responses to “Offline GMail – Is it secure?”

  1. Gmail Offline ¿realmente es seguro? | engineering that system! says:
    January 30, 2009 at 7:50 pm

    [...] me entero por medio de http://www.paulspoerry.com/2009/01/29/offline-gmail-is-it-secure/ la ruta en donde gears almacena la información que descarga desde gmail. Según este blog estas [...]

  2. How to fix 400 Bad Request in Gmail after Offline Mode — Sample the Web says:
    February 18, 2009 at 6:14 pm

    [...] Gears database and permissions files on your computer. I found them via the information provided in this very helpful blog post that talks about how Google Offline isn’t really a secure optio…. If you are using Safari on OS X, the files are located in this folder: ~/Library/Application [...]

Leave a Reply

Click here to cancel reply.

You must be logged in to post a comment.

Recent Posts

  • Microsoft finally patches 17-year-old bug
  • How to make the SimpleTags Wordpress plugin work on v2.9
  • Windows 7 has “God Mode”? I don’t think so…
  • Is Religion Out of Date?
  • AV-Comparatives Ranks Microsoft Security Essentials as Best-Performing Free Antivirus

Popular Posts

  • µTorrent 1.8.3 Final (uTorrent 1.8.3)
  • Google Chrome’s JavaScript Engine Is CRAZY FAST
  • Google Chrome’s JavaScript Engine Is CRAZY FAST
  • Windows 7 Benchmarks – XP vs Vista vs 7
  • 20 Classic Hip Hop Album Covers Redone With Legos

Recommended Hosting

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox