Solved

About getting the user Location Permission

Posted on 2014-03-11
10
160 Views
Last Modified: 2014-10-24
Dears,

We have a web app that requires to take the user location, so user is asked to grant sending his location, which is too tedious in our app because he will be doing this so frequently, so my question is :-

1- Is their any kind of certificate or signature that we can do to avoid this Permission question ?

2- How - at least - to inforce the browser to make this question only Once, not every time ?

3- If the above is not possible, is their any other way ?? our customer (banking company) is insisting to do this and he says he is Legally allowed to do this with his clients !

Thanks for your help
0
Comment
Question by:khamouda
  • 3
  • 3
  • 2
10 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 150 total points
ID: 39937660
There is no 100% foolproof way to get location.  The best you can get using various means of geolocation is 60-70%.  If the user supplies the location and you do not want to ask them again, then simply create a cookie the first time and then they do not have to be asked again because you can get the information from the cookie.

Cd&
0
 
LVL 1

Author Comment

by:khamouda
ID: 39937848
Hi

Thanks for your comment, but the question is about avoiding even the first question, anyway to do that ?
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39943314
Well you can download a free database of ip addresses and do the detailed coding to make it work : http://db-ip.com/db/

Or you can pay for something that is less work from the same site.

It will still not be fully accurate, and the mapping is subject to change on a day to day basis as netblocks are bought and sold across international boundaries.

No matter what you do, there is no way to preven users from misleading you if they do not want their location known, and with al the abuse of tracking that has taken place, more user are protecting themselves from intrusions every day.

Cd&
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Author Comment

by:khamouda
ID: 39944823
So there is no way to prevent such permission ?
0
 
LVL 39

Assisted Solution

by:Eoin OSullivan
Eoin OSullivan earned 150 total points
ID: 39944827
1 = NO .. not in a WebApp.

2 = As COBOLdinosaur suggests a Cookie or session variable will allow you to prevent the alert reappearing

3 = Develop an iOS and/or Android and/or Windows app which can then directly access the gps and location data on the device and the user will only have to approve once on install and thereafter the location information is always available.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39945654
GPS is fine, but because of the recent focus on spying by various governments, and serious tracking issues many users are now turning off or blocking GPS because of the abuses and invasion of privacy.

Cd&
0
 
LVL 1

Author Comment

by:khamouda
ID: 39948351
Thanks fellows ... it seems not possible then :(
0
 
LVL 39

Expert Comment

by:Eoin OSullivan
ID: 39948361
Sorry, unfortunately the correct answer sometimes is "NO".  Not possible in a web app .
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question