Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I like to upload photos to various internet services, but I prefer not to share my geographic location. I understand Facebook and other services strip out the geolocation data, but they still have the data. I want to keep that data to myself and not share geolocation.

What are some tools that can find if geolocation data exists in a photo?

Is there a way I can manually strip this data from my photos?

share|improve this question

5 Answers 5

up vote 12 down vote accepted

I have used exiftool for this kind of work. It basicly lets you review and edit any meta information in your pictures.

I used this to exploit a image service which echoed the geo details back at the user. I filled the images geo data with XSS and attacked other users viewing the picture.

share|improve this answer
4  
+1, and I wish I could get another +1 for you pointing out an implementation / security flaw in displaying that information. –  Jeff Ferland Oct 10 '11 at 14:31

Another very quick and simple solution can be found here: http://www.geotagsecurity.com/what-is-geotag-security/

share|improve this answer

As Karrax says, exiftool is perfect for stripping this information from images.

More broadly, you might be interested in MAT, the Metadata Anonymisation Toolkit, which allows you to view metadata that is stored in all sorts of files. This includes not just location data stored in images, but all sorts of data that may be stored in pictures, music files, documents, and so on.

share|improve this answer

First install Imagemagick and then mogrify -strip *.jpg for a directory of images or specify a single image and strip it.

share|improve this answer

The data you're looking for is called Exif data. There's a ton of information about reading, preserving, changing, or deleting it. See http://stackoverflow.com/questions/tagged/exif.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.