Skip to content

Hey, wonderful: there’s a location-tracking file on my iPhone.

Posted on April 20, 2011 at 12:20 pm

What sort of data does your phone log to a file…and why?

That’s the most annoying mystery of these superphones that we carry everywhere. It’s a master key to pretty much everything we’ve got going on in our lives: where we’ve been, the people with whom we associate, what we say, and all of the things we’ve seen that we considered worth snapshotting. The phone maker should be both completely open about the data the device collects and should act as though disastrous things would happen if that data were ever to fall into the wrong hands. Because they would. The worst-case scenario of a lost or stolen or otherwise compromised phone is pretty goddamned bad.

So imagine my disappointment when I visited this page (thoughtfully forwarded to me by Dave Bittner). Developers Alasdair Allan and Pete Warden, while working on some mobile data-visualization tools, poked around inside their iPhones and found an SQL database containing a detailed log of the phone’s locations over the past several months. To demonstrate the problem, they wrote a little app that will pull up this file from your desktop iPhone backup, analyze it, and “replay” your movements over time on a map.

Yeah, it works. The app was written just as an illustration, so it intentionally fudges the accuracy. But if I fast-forward to last summer, I reveal a very rough track of the day I decided to blow off work and go to the Cape for an afternoon of swimming and fried clams. Here’s a video demo of the map, provided by the developers:

Washington DC to New York from Alasdair Allan on Vimeo.

A few reality checks, lest I inadvertently do a Glenn Beck number on all of you, here:

  • This database isn’t storing GPS data. It’s just making a rough location fix based on nearby cell towers. The database can’t reveal where you were…only that you were in a certain vicinity. Sometimes it’s miles and miles off. This implies that the logfile’s purpose is to track the performance of the phone and the network, and not the movements of the user.
  • A third party couldn’t get access to this file without physical access to your computer or your iPhone. Not unless you’ve jailbroken your iPhone and didn’t bother resetting its remote-access password…or there’s an unpatched exploit that would give Random Person On The Internet root access to your phone.
  • It’s pretty much a non-issue if you’ve clicked the “Encrypt iPhone Backup” option in iTunes. Even with physical access to your desktop, a no-goodnik wouldn’t be able to access the logfile.

But still! What a nervous can of worms. This is an open, unlocked file in a known location in a standard database format that anybody can read. If someone has physical access to your Mac — or remote access to your user account — it’s a simple matter of copying a file and opening it. And while the logfile can’t tell someone that you were at a specific house, it can obviously tell your boss that you went to the Cape on the day you called in sick.

And it’s not as though Apple and these two developers are the only people who know that this file exists and that it’s so easy to access. By the time the Good Guys blow the whistle, the Bad Guys have had it for months. Lord only knows what they’ve been doing with this information.

It’s also, frankly, another reason why I value my iPhone’s “remote nuke” feature and wish it were possible to nuke all data directly from the handset. I can’t think of any circumstance under which my location data would possibly be damaging, incriminating, or even just embarrassing. That’s not the point: if I can’t control the data that my phone is collecting, I should at least have the power to destroy it utterly.

[Edited to clarify: what I want is a real "overwrite with zeros" feature, like the one you see in Disk Utility. Yup, you can go to Preferences and restore your iPhone to factory settings but I believe that this leaves your data vulnerable to recovery. I imagine a made-for-TV kind of scene in which the Angry Lawyer Bringing A Frivolous Lawsuit Against Me is fumbling for his phone, trying to get a court order to mine data off of my iPhone but before the paperwork comes through, I've already tapped nineteen buttons and there's nothing on that phone that can be recovered.]

Finally, there’s “The ‘Ick’ Factor.” I don’t believe that Apple is up to anything nefarious here (again, I think it’s tracking the performance of the phone and not the movements of the user) but it makes the iPhone look very, very bad. That’s not to say that other phones don’t do even ickier things with user data…but this one’s big and public and easy to demonstrate on a nightly newscast.

Apple should treat this like a serious problem. I’ll be very, very pleased if I or anybody else can get a statement from them explaining what this file is for, and how the next iOS update will secure it.

Filed under: apple, iphone.

Comment Feed

124 Responses

« Older Comments

Continuing the Discussion

  1. [...] Ihnatko used the application to reveal his movements from the past few months and wrote about it on his personal blog. Ihnatko discovered that, while not precise, the info does reveal a rough trace of the [...]

  2. [...] Andy Ihnatko ?????????????????????????Reality check: [...]

  3. The Apple JudasPhone…

    Good Lord – a few days ago we published a note about how Smartphones are watching you, but we had no idea it was this bad – the iPhone tracks your movement and timestamps it, whether you have GPS turned on or off, and saves it to a file that it then up…

  4. [...] of discussion on this issue: Andy Ihnatko Guy that found it a while back What Apple does with your information Tweet This Post [...]

  5. [...] TweetApril 21, 2011 at 8:35 amCommenting on Andy Inhatko’s article on iOS storing user’s location data, Daring Fireball‘s John Gruber reveals that iOS [...]

  6. [...] fact that the data is stored on the user’s own machine and not accessed by Apple is one of Andy Ihnatko‘s key themes as well, suggesting that “the logfile’s purpose is to track the [...]

  7. [...] on Andy Inhatko’s article on iOS storing user’s location data, Daring Fireball‘s John Gruber reveals that iOS [...]

  8. [...] fact that the data is stored on the user’s own machine and not accessed by Apple is one of Andy Ihnatko‘s key themes as well, suggesting that “the logfile’s purpose is to track the performance of [...]

  9. [...] on Andy Inhatko’s article on iOS storing user’s location data, Daring Fireball‘s John Gruber reveals that iOS storing [...]

  10. [...] pundit, Andy Ihnatko, notes three reasons why this might be the case. This database isn’t storing GPS data. It’s just making a rough [...]

  11. [...] Ihnatko has the simplest and most concise piece so far.  Arstechnica points out that this information is and has always been logged by the service [...]

  12. [...] fact that the data is stored on the user’s own machine and not accessed by Apple is one of Andy Ihnatko‘s key themes as well, suggesting that “the logfile’s purpose is to track the [...]

  13. [...] on the topic: Your iPhone, iPad recording your every move? – Larry DignanUpdate: Andy Ihnatko reinforces my Don’t Panic advice:This database isn’t storing GPS data. It’s just making a rough location [...]

  14. [...] Andy Ihnatko on iOS 4’s Location-Tracking Log[Via Daring Fireball] [...]

  15. [...] tech guru Andy Ihnatko downplayed the damage done by the tracking file, pointing out that it’s not storing GPS data, but [...]

  16. [...] to 5 Mac, will remove that location data and prevent more from being recorded.Meanwhile, tech guru Andy Ihnatko downplayed the damage done by the tracking file, pointing out that it’s not storing GPS data, [...]

  17. [...] panic, but look a little nervous | Andy Ihnatko’s Celestial Waste of Bandwidth (BETA) post Hey, wonderful: there’s a location-tracking file on my iPhone | Alex Levinson’s 3 Major Issues with the Latest iPhone Tracking “Discovery” On the [...]

  18. [...] Andy Ihnatko: It’s also, frankly, another reason why I value my iPhone’s “remote nuke” feature and wish it were possible to nuke all data directly from the handset. I can’t think of any circumstance under which my location data would possibly be damaging, incriminating, or even just embarrassing. That’s not the point: if I can’t control the data that my phone is collecting, I should at least have the power to destroy it utterly. [...]

  19. [...] Fireball, uno dei blogger più autorevoli nel panorama Apple a stelle e strisce, ha commentato un articolo scritto da Andy Inhatko, altra voce importante del mondo Mac, sul problema della memorizzazione dei [...]

  20. [...] tech guru Andy Ihnatko downplayed the damage done by the tracking file, pointing out that it’s not storing GPS data, [...]

  21. [...] tech guru Andy Ihnatko downplayed the damage done by the tracking file, pointing out that it’s not storing GPS data, [...]

  22. [...] Andy Ihnatko Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers [...]

  23. [...] get some perspective, tech writer Andy Ihnatko presents a wonderfully rational assessment of the whole [...]

  24. [...] Well, I thought that. I still think that, and I’m going to give him the benefit of the doubt and go with “he wasn’t really thinking” when he sent a letter to Steve Jobs about the current brouha-whollymoley over iPhones tracking your every move. [...]

  25. [...] it ‘a nervous can of worms’ … but even he says, somewhat contentiously, in Hey, wonderful: there’s a location-tracking file on my iPhone: It’s pretty much a non-issue if you’ve clicked the ‘Encrypt iPhone Backup’ option [...]

  26. [...] far more sensible comment came from Andy Ihnatko who is not worried about the data but more concerned about perceptions regarding Apple’s [...]

  27. [...] software. That’s it. There’s no apparent malice here on Apple’s part, either; in fact, according to John Gruber, this is many expected a bug: The large doubt of course, is since Apple is storing [...]

  28. [...] Andy Ihnatko © 2011 The iPhone Index Privacy [...]

  29. [...] software. That’s it. There’s no apparent malice here on Apple’s part, either; in fact, according to John Gruber, this is most likely a bug: The big question of course, is why Apple is storing [...]

  30. [...] tech guru Andy Ihnatko downplayed the damage done by the tracking file, pointing out that it’s not storing GPS data, [...]

  31. [...] or not, just by asking your provider. And I really do mean "no different" as the info gathered appears to be locations as plotted by phone tower, not by GPS. You make a claim on your insurance, but they think you may have been going too [...]

  32. [...] be accessed unless someone comes to physical possession of your device. As Andy Ihnatko explained, encryption can protect users from common risks of logging location on smart-phones. The fact that Apple didn’t disclose [...]

  33. [...] gathered from CWOB, The Loop, GigaOM, 9to5Mac, [...]

  34. [...] The other big and interesting tech news this week was the iPhone controversy. It seems that some folks discovered the file in your iPhone that stores locational information (not GPS data, it would seem, but locational data based on the nearest cellphone towers. So we’re not dealing with pinpoint accuracy here, but a only general location). They figured out how to hack into it and extract that data and create maps of their own recent activities. This raises privacy concerns, of course, and the more creepy issue of Apple’s plans for collecting this data. Here’s a nice consideration of it. [...]

  35. [...] Hey, wonderful: there's a location-tracking file on my iPhone … [...]

  36. [...] The good news is that the sky is not falling: [...]

  37. [...] best piece of writing on this issue, which we found after being referred by many reliable sources, states: A few reality checks, lest I inadvertently [...]

  38. [...] Hey, wonderful: there's a location-tracking file on my iPhone … [...]

  39. [...] Hey, wonderful: there's a location-tracking file on my iPhone … [...]

  40. [...] Meantime, some bloggers are making a case that the data collection that brought Apple so much attention yesterday isn’t tight enough to constitute personal tracking. Andy Inhatko writes: [...]

  41. [...] in a famous plcae in a customary database format that anybody can read,” writes publisher Andy Ihnatko “If someone has earthy access to your Mac — or remote access to your user comment — [...]

  42. [...] Hey, wonderful: there's a location-tracking file on my iPhone … [...]

  43. [...] Hey, wonderful: there's a location-tracking file on my iPhone … [...]

  44. [...] in a known location in a standard database format that anybody can read,” writes journalist Andy Ihnatko “If someone has physical access to your Mac — or remote access to your user account — [...]

  45. [...] Apple may be trying to capture information about the device or, perhaps, carrier performance — the theory expressed by blogger Andy Ihnatko. Given the rap the iPhone got as a result of AT&T's network problems, I wouldn't discount the [...]

  46. [...] reading a post that suggested the CDMA iPhones do collection location data, I examined the SQLite database stored [...]

  47. [...] may be trying to capture information about the device or, perhaps, carrier performance — the theory expressed by blogger Andy Ihnatko. Given the rap the iPhone got as a result of AT&T’s network problems, I wouldn’t [...]

  48. [...] ????Tech2IPO??bluesabrina???ihnatko??????????????Tech2IPO????????????RSS??????????????????? [...]

  49. [...] Ihnatko föreslår på sin blogg att denna information troligen inte handlar om att spåra var du varit utan för att kontrollera [...]

  50. [...] iPhone u 4.0 verziji iOS mobilnog operativnog sustava zaista prati i bilježi lokaciju korisnika, ali situacija je malo druga?ija od one koja se širi svjetskim, ne samo lokalnim medijima. Zna?i [...]

  51. [...] il file esista, non sembra esservi dubbio. Che possa essere originato da un bug – come alcuni affermano – appare [...]

  52. [...] Andy Ihnatko on iOS 4’s Location-Tracking Log Best piece I’ve seen on the “consolidated.db” location-tracking log: [...]

  53. [...] Ihnatko föreslår på sin blogg att informationen som din iOS-enhet sparar troligen inte handlar om att spåra var du varit utan [...]

  54. [...] I don’t care about this, before I talk about why I do… I’m just going to steal Andy Ihnatko’s reasons because he already said it better than I [...]

  55. [...] Andy Ihnatko – “Hey, wonderful: there’s a location-tracking file on my iPhone.“ [...]

  56. [...] the file simply keeps a record of cell towers it has connected with. A jealous boyfriend/girlfriend or a crazy stalker would have access only to [...]

  57. [...] on the side of Andy Inhatko and John Gruber than Daniel Eran Dilger on this… I love you Daniel, but what in the heck was [...]

  58. [...] seems to be the big news story in the tech world at the moment, as people speculate why this is being done. There’s theories [...]

  59. [...] recap, if we didn’t review my posting from final week or any of a miles of other accessible commentary: your iPhone has been building a database of where [...]

  60. [...] recap, if you didn’t read my posting from last week or any of the miles of other available commentary: your iPhone has been building a database of [...]

  61. [...] recap, if you didn’t read my posting from last week or any of the miles of other available commentary: your iPhone has been building a database of [...]

  62. [...] recap, if you didn’t read my posting from last week or any of the miles of other available commentary: your iPhone has been building a database of [...]

  63. [...] Hey, wonderful: there’s a location-tracking file on my iPhone [...]

  64. [...] in a known location in a standard database format that anybody can read,” writes journalist Andy Ihnatko “If someone has physical access to your Mac — or remote access to your user account — [...]