Solved

About getting the user Location Permission

Posted on 2014-03-11
10
153 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 1

Author Comment

by:khamouda
Comment Utility
So there is no way to prevent such permission ?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 39

Assisted Solution

by:Eoin OSullivan
Eoin OSullivan earned 150 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks fellows ... it seems not possible then :(
0
 
LVL 39

Expert Comment

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now