M
M
maximkalga2016-01-25 15:03:06
Google Maps
maximkalga, 2016-01-25 15:03:06

How to prevent substitution of the user's actual location?

Objects on the map are displayed depending on the location of the user, within a certain radius from him.
Its location is taken from the rickquest:

user_location = map(float, request.args.getlist('userLocation[]'))

here is a video showing how to change your coordinates in the browser.
How can you prevent the user's actual location from being spoofed? He should not see objects that are not assigned to him. The method of obtaining the user's location can be changed as needed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2016-01-25
@streetflush

As far as I remember, there was such a toy, Ingress.
She checked for the presence of ups that allow you to change geolocation.
But in the browser ... I think it will be unrealistic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question