 A security expert has warned that smartphone users should switch off their location settings if they are worried about  how their data is shared.