Mobile Websites Can Tap Into Your Phone's Sensors Without Asking (wired.com)
When apps wants to access data from your smartphone's motion or light sensors, they often make that capability clear. That keeps a fitness app, say, from counting your steps without your knowledge. But a team of researchers has discovered that the rules don't apply to websites loaded in mobile browsers, which can often access an array of device sensors without any notifications or permissions whatsoever. From a report: That mobile browsers offer developers access to sensors isn't necessarily problematic on its own. It's what helps those services automatically adjust their layout, for example, when you switch your phone's orientation. And the World Wide Web Consortium standards body has codified how web applications can access sensor data. But the researchers -- Anupam Das of North Carolina State University, Gunes Acar of Princeton University, Nikita Borisov of the University of Illinois at Urbana-Champaign, and Amogh Pradeep of Northeastern University -- found that the standards allow for unfettered access to certain sensors. And sites are using it.
The researchers found that of the top 100,000 sites -- as ranked by Amazon-owned analytics company Alexa -- 3,695 incorporate scripts that tap into one or more of these accessible mobile sensors. That includes plenty of big names, including Wayfair, Priceline.com, and Kayak.
The researchers found that of the top 100,000 sites -- as ranked by Amazon-owned analytics company Alexa -- 3,695 incorporate scripts that tap into one or more of these accessible mobile sensors. That includes plenty of big names, including Wayfair, Priceline.com, and Kayak.
Hah! Now I feel smug that the only working browser on my phone has no vulnerabilities of this kind at all.
Backporting a modern bloated browser for a system this old would be a massive task, and Nokia ended support for N900 ages ago. Never had the time to manage to get working one of community-made distributions made in the last few years, so it's elinks on the phone for me. I dare not to even contemplate Firefox or Chrome running on 256MB RAM. They're the reason why riscv has a 128-bit version...
The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
the lynks browser for android doesn't have this issue.
Chrome, webview and Firefox (and vendor browsers) are problematic unless you have large amounts of extensions installed, with blocklists updated hourly...
To play games in the browser? Yeah, that's a stretch. Phone browsers aren't good for much, anything complicated you'd be better off with a dedicated app.
I've abandoned my search for truth; now I'm just looking for some useful delusions.
The article starts by claiming that apps require some permission from the user before they can use these sensors in question. Motion, orientation, proximity, light. That's not true on Android. Good night!
Some of it is implied access. For example, if a phone rotates from portrait to landscape mode, it'll typically re-layout the page to fit the new aspect ratio. It then becomes trivial for Javascript to determine that the phone has been rotated.
As far as stuff like the proximity and lighting sensors, there are direct APIs and I couldn't tell you why phones give developers access to those by default.
You are not alone. This is not normal. None of this is normal.
As far as stuff like the proximity and lighting sensors, there are direct APIs and I couldn't tell you why phones give developers access to those by default.
Sounds like they haven't learned the lesson of battery API yet...
The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
... permission to access various parts of your phone, you also giving that same permission to everything that runs in the browser?
Quoting Wired Magazine: "Mac OS X, in turn, gave rise to the mobile iOS. Both Apple operating systems still include code files tagged with the NeXt name – and both are directly descended from a version of UNIX called the Berkeley System Distribution, or BSD, created at the University of California, Berkeley in 1977" BSD isn't quite dead yet. It lives on in 2 Billion iOS devices and the odd iMac or MacBook.
https://sensor-js.xyz/demo.htm...
Indeed it works on my iPhone. Javascript can read Orientation, Accelerometer (including gravity) and Gyroscope sensors in real time.