Solved

About getting the user Location Permission

Posted on 2014-03-11
10
161 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cookies analysis tools 2 100
iPhone backup extractor 3 63
Create animated movies for web page 18 85
DW 2017 background color change 5 8
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The viewer will learn how to dynamically set the form action using jQuery.

861 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