{"id":3772,"date":"2017-03-22T09:13:36","date_gmt":"2017-03-22T13:13:36","guid":{"rendered":"https:\/\/www.thesslstore.com\/blog\/?p=3772"},"modified":"2017-06-01T17:26:26","modified_gmt":"2017-06-01T21:26:26","slug":"firefox-55-https-for-geolocation","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/firefox-55-https-for-geolocation\/","title":{"rendered":"Browser Watch: Firefox 55 Will Require HTTPS for Geolocation"},"content":{"rendered":"<h2>Firefox 55, Due In August, Will Require HTTPS for Geolocation<\/h2>\n<p>A future version of Mozilla&#8217;s browser, Firefox 55, which is due out in August, will entirely <a href=\"https:\/\/www.fxsitecompat.com\/en-CA\/docs\/2017\/use-of-geolocation-api-is-now-limited-to-secure-sites\/\"rel=\"nofollow\">disable Geolocation on HTTP pages,<\/a>\u00a0meaning that you now need HTTPS for Geolocation. Websites without encryption will no longer be able to ask for a user&#8217;s location.<\/p>\n<p>In Firefox 55, geolocation requests over HTTP will fail silently \u2013 the user will not even know the site was trying to request that information. Developers will be happy to know that local content (localhost and file:\/\/ paths) are included in Mozilla\u2019s definition of a <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/Security\/Secure_Contexts\"rel=\"nofollow\"><em>Secure Context<\/em><\/a>, and will still be allowed to request geolocation. Encrypted WebSocket connections (wss:\/\/) will also be allowed to make requests.<\/p>\n<p>Geolocation is among a set of browser features that expose sensitive and personally identifying information about a user, which pose a greater safety and privacy risk. As a result, these features have been some of the earliest functionality to be restricted and then entirely disabled over HTTP, due to the protocol\u2019s lack of encryption or authentication.<\/p>\n<p>By the way, this is only the beginning. Browsers will then move on to other features, <a href=\"https:\/\/www.thesslstore.com\/blog\/browser-community-pushing-towards-https\/\"rel=\"nofollow\">with the end-goal of ditching HTTP altogether<\/a>.<\/p>\n<p>Geolocation has already been disabled in Chrome (<a href=\"https:\/\/www.thesslstore.com\/blog\/google-restricts-geolocation-https-chrome-version-50\/\">for nearly a year<\/a>) and Safari. Firefox lagged behind the other browsers because internal data showed a high proportion of geolocation requests came from HTTP sites, and there were concerns over breaking too many pages.<\/p>\n<p>Breakage is a moot point now, as most have had to deal without HTTP functionality for some time. For most sites, Firefox\u2019s change will likely not be a problem.<\/p>\n<p>If you are a developer and want to start testing this behavior now, you can do it in <a href=\"https:\/\/www.mozilla.org\/en-US\/firefox\/channel\/desktop\/\"rel=\"noffolow\">Firefox Nightly<\/a> if you change the following flag:<\/p>\n<ol>\n<li>Paste\u00a0<strong>about:config\u00a0<\/strong>into the address bar and hit enter.<\/li>\n<\/ol>\n<ol>\n<li>If you see the \u201cThis Might Void Your Warranty\u201d page,\u00a0<strong>click the blue \u201cI accept the risk!\u201d button<\/strong>.<\/li>\n<li>In the Search box at the top, paste\u00a0<strong>geo.security.allowinsecure<\/strong><\/li>\n<li>Double click the setting to change it to \u201cfalse.\u201d<\/li>\n<li>Done! Now when you visit HTTP pages requesting your location, the requests will fail. You can test this behavior at <a href=\"http:\/\/permission.site\/\"rel=\"nofollow\">http:\/\/permission.site\/<\/a>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Firefox 55, Due In August, Will Require HTTPS for Geolocation A future version of Mozilla&#8217;s browser, Firefox 55, which is due out in August, will entirely disable Geolocation on HTTP&#8230;<\/p>\n","protected":false},"author":2,"featured_media":3778,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[17],"tags":[243,170,967,467,279],"class_list":["post-3772","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-industry-lowdown","tag-browser-watch","tag-https","tag-mozilla-firefox","tag-ssltls","tag-web-browsers","post-with-tags"],"views":10637,"jetpack_featured_media_url":"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2017\/03\/iStock-612652790.jpg","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/3772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=3772"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/3772\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media\/3778"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=3772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=3772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=3772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}