Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preventing data tampering on client/server application

A bit of background info:

  • I am building a geolocation based game for Android
  • The server-side is coded in php
  • Certain in-game actions requires the client application to send the current latitude and longitude to the server

Is there any way to prevent the user from tampering with the location data being sent to the server?

Please let me know if you need more information

Thank you,

EDIT: I understand there will be workaround to any security measure I implement, but how can I make it harder for users to modify the data being communicated to the server

like image 519
Ares Avatar asked Mar 17 '26 21:03

Ares


1 Answers

The short answer is no. They will always be able to fiddle their device or application to send you what they want, because they control it.

like image 140
Jérôme Verstrynge Avatar answered Mar 19 '26 12:03

Jérôme Verstrynge