Geolocation - Protecting your Android app against mock locations

De openkb
Aller à : Navigation, rechercher

Sommaire

Questions

I m designing a location-based service where reliability plays a role. I wish my users to know that the provided location of other users is real.

http://www.androlib.com/android.application.org-ajeje-fakelocation-CzDx.aspx http://www.androlib.com/android.application.org-ajeje-fakelocation-CzDx.aspx

Is there any known way to protect against that? I could use some simple heuristic to verify that the user didn t travel from France to Hawaii in 30 minutes, but I would rather have complete protection.

Thanks ahead!

Answers

Instead of a long comment:

"reliability plays a role"

As long as your provide reliable output for "reliable" input i think you will be OK without having to handle spoofed or fake input. In case you have data stored in persistent storage you could handle cases for suspicious data.

That is define and apply scenarios on your data to identify cases like "the user traveled from France to Hawaii in 30 minutes", and handle such cases in an appropriate way. Or you could even reject data that are not realistic.

Source

License : cc by-sa 3.0

http://stackoverflow.com/questions/5203936/protecting-your-android-app-against-mock-locations

Related

Outils personnels
Espaces de noms

Variantes
Actions
Navigation
Outils