Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

iPhones and iPads are keeping a log of where you have been

DZone's Guide to

iPhones and iPads are keeping a log of where you have been

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

The article “ Cool or Creepy? Your iPhone and iPad Are Keeping Track of Everywhere You Go, And You Can See It” [via @ netzzwerg] describes that iPhones and iPads keep a log of the locations you have visited while they were switched on:

Named “consolidated.db,” the file has thousands of location data points for each of them starting at the time they respectively updated their operating systems to iOS 4 — released in June 2010. Each location point includes latitude, longitude, a time stamp, and the IP address for the wireless network their phone was accessing for service. One of the researchers had 33,000 location check-ins over seven months (including a few erroneously placing him in South America).
[...]
Warden [...] expresses concern about the fact that the history is sitting on a plain, unencrypted file on the iPhone, and then transferred to a computer any time the device is synced.

Comments:
  • The novel aspect here is that this information is so readily available, but this kind of data has long been collected by cell phone network providers. In the latter case you need a court order to get the data. In the former case, access to the cell phone or (synced) desktop computer is enough.
  • You cannot completely switch this off, but you can make it more difficult for others to access the data, by encrypting the backups on your desktop computer [1]. Tip from Marco Arment:

    You should encrypt your backups, if not for security reasons, for a big convenience gain: encrypted backups will include your email and Mobile Me passwords so you never need to re-enter them after a restore.

  • The collected data is in ~/Library/Application Support/MobileSync/Backups/ (in your home directory).
  • Mac app for displaying the collected data on a map.
Mac application “iPhone Tracker”.

Related reading:
  1. How to encrypt your iOS backups: “iPhone and iPod touch: About backups” → “About Syncing and Backups” → “Encrypted backups”

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:

Published at DZone with permission of Axel Rauschmayer, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}