How Does Your Web Browser Know Your Location?
Techquickie
·Techquickie
·2018-05-06
·
1,013 words · ~5 min read
0:00
thanks for watching techwiki click the subscribe button then enable
0:03
notifications with the bell icon so you won't miss any future videos so
0:07
smartphones are pretty great right when you're out looking for the nearest
0:11
all-night dumpling house that handy-dandy gadget in your pocket can
0:14
use gps satellites to triangulate your position and direct you to the nearest
0:19
food fix but what about the times when you'd rather not have the powers that be
0:23
tracking your location maybe while you're sitting at home on your pc you
0:27
fire up a mapping site in your web browser and
0:30
wait a minute this thing doesn't have gps but it knows where i am down to a
0:34
few meters what black magic is this well
0:38
part of the way your location can be determined is by looking at your public
0:41
ip address which every site you visit needs so that it knows where to send the
0:45
data you request now each isp owns a
0:48
certain range of ip addresses that correspond to different geographic
0:52
locations often the particular city that they then assign to customers and since
0:56
these addresses are assigned to your isp by large registries who make location
1:01
data public it's easy for most sites to know your general location assuming you
1:05
aren't using a vpn or something like that but that still doesn't explain how
1:09
google maps can place a blue dot directly on my house i mean did larry
1:14
page's personal helicopter just fly over well no unless you're using a desktop pc
1:20
that's a few years old you're on a device that probably supports wi-fi and
1:25
if your wi-fi router has ever connected to or even just been in range of a gps
1:30
enabled gadget like a smartphone this is some next level stuff right here that
1:34
phone will actually take note of the mac addresses the unique identifiers for
1:38
every network-enabled device of all the wireless access points that are close
1:43
enough for them to see then it'll for that information along
1:46
with the phone's location to a database maintained by google if you're on
1:50
Android or apple if you're on iOS whoa so these companies know where a
1:55
huge number of the access points and routers floating around out there are
1:59
located even if they aren't public and if a router gets moved to a different
2:03
location these databases will likely be updated the next time a phone connects
2:07
to it now obviously this is hugely convenient for using services that need
2:11
to know your location when you don't have a good gps signal not to mention
2:16
that gps alone is a battery hog and takes a lot longer to triangulate your
2:20
location than the wi-fi database but i can't say i'd blame you if you
2:24
weren't concerned about these companies keeping tabs on where every wireless
2:28
router lives even the one that sits on your countertop in your kitchen so is
2:32
there any way to opt out of this well yes in theory it seems like every other
2:37
week we found out that oops it turns out we were logging all that data you told
2:40
us not to anyway lol sorry but anyway in
2:44
theory microsoft and google allow you to keep your router out of their location
2:48
databases for google you can add underscore no map to the end of your
2:52
wi-fi network's name or ssid while microsoft offers a web page where you
2:57
can enter your ap's Mac Address which you can usually find on an attached
3:00
sticker but there doesn't appear to be a similar escape hatch for apple at this time go
3:06
figure and if you want to keep your client devices for being tracked again
3:10
in theory disable location or location services on Android or iOS and don't
3:16
allow your browser to send your location to websites if you're on a desktop pc
3:20
now they're typically configured to ask you first anyway but it's worth double
3:24
checking because if you do send your location out even using a vpn may not
3:28
help obscure where you are if your pc has a wi-fi connection that can see
3:33
surrounding networks even if you're only using a wired connection at the time so
3:37
make sure that you disable your wi-fi outright if you're concerned about
3:41
others knowing where you are and speaking about others knowing where
3:45
you are this episode has been brought to you by tunnelbear the easy to use vpn app when
3:50
people are shopping for a vpn one of the features they look for are kill switches
3:55
before you connect to a network your device starts to send information about
3:58
itself and what it wants to do it tries to establish connections with all sorts
4:02
of things and there are a bunch of other devices trying to connect to yours kill
4:06
switches stop this from happening before you connect to your vpn all of your
4:11
traffic is unencrypted so in the few seconds it takes to connect you've
4:15
probably already broadcast your ip maybe a few dns requests or even a search
4:19
query vigilant bear from tunnelbear stops this from happening by blocking
4:24
all inbound and outbound traffic so nothing leaks out before you connect
4:28
this helps keep you private throughout your entire connection time if your
4:32
connection goes down for some reason vigilant bearer kicks back in and stops
4:36
all outbound inbound traffic until the connection comes back for a free trial
4:40
of tunnelbear go to tunnelbear.com Linus
4:43
okay guys thanks for watching Techquickie like the video if you liked it dislike it if you didn't check out our
4:48
other channels make sure to leave a comment below with video suggestions i do read those and your input is always
4:53
very much appreciated and be sure to subscribe and follow so you don't miss
4:56
any of our future videos