by bjt2n3904 · 8y ago · 0 comments
When the fsck did this become a feature? Why did nothing ask me if I was ok giving Facebook access to my hardware? How do I turn it off? Who thought this was a good idea!?
These same questions apply to Bluetooth. Already, such a terrible standard when it comes to privacy. And now, random websites can grab control of my radios? With JavaScript? Nothing wrong can happen with this, for sure!
FFS. This is like the battery api. Too much time spent on "can we", too little time spent on "should we".
I mean, that's the web summed up in a single sentence. What started as a way to view text and pictures online is now more complicated than many operating systems. You cram all that stuff into a single binary, give lackluster and ever changing controls to manage all that and call it the future. Never attempt to break down the functionality across several dedicated clients that do only one thing and do it well, that's for losers.
But I somehow disagree with your statement in that it seems to imply that the people designing that garbage are naive or don't really think about the consequences of what they're doing. That might have been true in the early days of the web when nobody knew exactly what it was going to be but it's clearly not the case now.
The folks at Google know exactly what they are doing, making browsers more complicated and easier to interconnect with smartphone is win/win for them. It makes it harder to make a competing browser (anybody attempting to make a new browser these days basically has to fork Chrome or Firefox, and generally they go with the former), you need huge developer resources to maintain and optimize it (look at how hard Firefox is struggling to keep up despite the large number of people working full time on it) and while the big G doesn't control Windows, Mac or Linux they do control Chrome and Android so they have a huge incentive to push everything possible away from desktop OSs and into Chrome. They want Chrome to be the OS.
Google is 90's Microsoft with better PR. Well actually it's worse than that because MS didn't usually have access to my private data while google knows almost everything about their users if they have an Android phone and use gmail.
I don't want Chrome or Firefox or any browser to be the OS, I don't want 99% of the gimmicks that are getting added. I can barely tolerate an OS being the OS given how they are steadily moving to less and less actual control and towards knowing best (Windows updates, iOS turning bluetooth off "until tomorrow" etc etc).
Just in case I'm becoming too old to be relevant, neither do my kids and their friends as far as I can see. if anything they're far more simplistic than me - YT, browsing, and a few chat and social apps. So presumably all this junk is for adtech and tracking, for sites to hassle us on yet another device.
Of my friends who work in tech, none of them seem to much like the monster they helped create any more.
Of course if you use a fancy webmail, Google docks or even something like Facebook it makes sense to have a full blown webapp but I personally seldom use these. But the thing is whether or not you need those feature they still bloat your web browser because you have to have it. How many websites ought to require JS to function properly out there? How many do?
Have you tried browsing the new Reddit interface on a low power smartphone? So much richness that it's barely usable. All that to display a list of titles or text comments. Or how about Discord which manages to lag in my browser despite being effectively a chat application.
Sometimes less is more. We've made it normal for people to use software that by default automatically runs a turing complete programming language for any random website you browse. If we had a tiny little bit of friction for going from website to webapp developpers and managers would think twice before cramming "rich" features and a thousand ad scripts everywhere.
This is the statement that I have known for years but never put into words. And it rings terrifyingly true.
When I started using Google services, I knew they were siphoning my data and using it personally and as a group to do machine-learny things. TANSTAAFL. I made that choice voluntarily, knowing they weren't going to be upfront about it.
I also made $8.35/hr at a crummy job when I made that decision. I couldn't afford the services Google offered for free from anywhere else.
These days, I'm working as a competent sysad, making appropriate pay. Now, I can afford for-pay services that can supplant various googly-eyed services. But now, my problem is different: how do I know non-google company doing X that I pay for isn't also making similar deals with advert companies? How do I know my data is private?
Obviously, Google is a SPOF in many ways. I don't like that. But the converse is to pay individual companies for service, and hope they're better than Google with respect to service, privacy, and ethics. But those are awfully nebulous to gauge.
I think this is funny because people also complain that Facebook broke Messenger out into its own app. I realize that "the internet" is not just one person and has varying opinions, but it's a "damned if you do, damned if you don't"
When your audience is captive you don't have to pretend to care anymore.
It also works on your MacBook. [4]
[1] https://w3c.github.io/deviceorientation/
[2] https://caniuse.com/#feat=deviceorientation
[3] https://www.engadget.com/2010/07/06/google-chrome-gets-some-...
[4] https://simpl.info/deviceorientation/
(PS my humble opinion is "yes we should". I like being able to develop a heart rate monitor PWA for my phone, and I don't see what's different from granting some random native app the same access. At least with the web I can read the underlying code.)
It did absolutely nothing on my 2015 MacBook (tried Safari, Chrome and Firefox).
It does work on 2012 MacBook model on Google Chrome. I guess it only works on MacBook models that supported a mechanical disk — I think the sensor exists in the first place to protect spinning rust disks by parking the heads just before impact.
The API is pretty well supported on tablets and phones though, which is where the main use case is.
No, this is usually not how new features are being used in the browser (see geolocation). Websites won't be able to scan your nearby devices without asking for permission, and it's up to the user to accept/decline it.
I'm actually quite excited over having Bluetooth accessible in the browser. That means that we could build P2P applications that works in the browser, that works even when not connected to a wifi and can talk with nearby computers via Bluetooth, something that has not been possible before (FlyWeb was close at achieving something like that as well)
You can ask for devices with a given set of features, and then the browser provides UX to select a device, and then the JS API provides a handle for that device.
The only potential way would be requesting devices with various filters, and seeing which return NotFoundError after a given time (though I don't think scanning for Bluetooth devices takes a deterministic time on any platform?) to determine which filters match something. Though of course you can only request the devices list after user interaction.
No! I've never said that! In fact, no one has ever said "I wish I could use Bluetooth in my browser", except for people who want to collect more data on their users.
This is like an idea from Todd on Bojack Horseman. Again, too much time on "could we", not enough time on "should we".
Bojack clip in question: https://youtu.be/Ct6EuC1W1gE
I literally just wrote above that I do want that. I also don't care about collecting any data. Guess you have to take my word for that. So now you know one person at least :)
I'm not sure where in the world you are, but there are many use cases where meshing clients together is the only way of getting non-restricted network access to each other.
The only reason why I think Bluetooth + Browsers are a powerful combination is the fact that it's so easy for people to get started, compared to how desktop works.
> I've always been on my desktop computer and said ... No! I've never said that!
Great, maybe this is not for you but you should try to consider other peoples point of view as well, that might live on the other side of the planet. Otherwise discussing further becomes rather depressing.
The problem isn't accessibility to JavaScript developers. The problem is a crummy radio protocol. Putting it inside Firefox doesn't solve bad design issues.
> I literally just wrote above that I do want that. I also don't care about collecting any data.
I believe you, but frankly, most of the society doesn't want to build mesh apps and (hopefully...) finally started to care about their privacy and data, and that's the point.
At least this doesn't seem to be a priority feature for Mozilla yet. MDN doesn't even have proper docs for it. So I'm a bit thankful for that, for now.
As for Facebook and the accelerometer, I'm presuming you're on Android, so you can definitely blame Google for that.
Malicious sites can trick you into accepting too:
https://www.reddit.com/r/assholedesign/comments/9p3172/yeah_...
Firefox at least has very slightly more distinct pop-downs than Chrome's.
Not all the sensor APIs have a hard requirement to require permissions; accelerometer data is available at a low sampling frequency in Chrome, which as far as I'm aware avoids any known attacks based on accelerometer data.
What about a keylogger with 50% accuracy?
The accelerometer is limited to (IIRC) 25Hz without a permissions prompt. IIRC, at that sampling interval, you can't even distinguish between a phone being held in a hand and a phone in a pocket, and I know the decision to go with 25Hz was done on the basis of various studies. From memory, some study failed to get numeric PINs from full-screen entry at 60Hz, and a typical on-screen keyboard requires much more granularity than that.
It shouldn't be asking, ever. The answer is such a hard no, it makes me wonder why they even tried.
I don't think this is true in this particular case. The user can't just click "accept", they have to explicitly choose a device to connect to.
This person's phone has been tilting less often over the past decade - a trend correlated with, let's say, a more strained gait caused by weight gain. The algorithm markets them more sugary foods, because there's a higher likelihood they're effectively addicted to calories.
This other person is letting their battery run down more often - a trend correlated with undiagnosed depression. The algorithm ratchets up the fear and sadness because it infers these will be more effective motivators to buy products.
The best part is that this will probably all happen invisibly. GDP and human suffering creeping up slowly, with no human at the helm, and the world none the wiser.
I feel that we are frogs in boiling hot water.
[1] https://developers.google.com/web/updates/2016/03/access-usb...
In a wider sense, there are legitimate uses for many of these apis. To me it seems like the option would be that some phones would get these apis patched into the browser by the manufacturers instead, and that would run an even higher risk of security problems than when the browser vendors do it.
If you don't like your browser application having access to certain hardware in your phone, you can just revoke the permission, and it won't have the access (at least on Android, I have no idea how iOS works in this regard).
And it was done by Mozilla people working on FFOS, specifically. They had no intention of exposing it to web content IIRC.
Now, whether this is good or not is left as an exercise to the reader.
It quite an edge case but it’s one of those things that make a web app less than native.
To be precice, by using the device orientation API offered by the browser, Facebook has no access to your hardware any more than it has access to your display hardware by utilizing the DOM API to draw on screen or access to your cellular radio by making a TCP connection.
Whether the browser should require your permission (per site?) to use device orientation API, that's debatable. Anyway, that's up to the browser implementation.
I think anything that involves making new/more input available to remote sites should require opt in. At the very least it should have a toggle to disable it globally.
No major browser vendor (and I mean not a single one) puts users' privacy first. People should treat browsers as the privacy hazard they are.
No. Only the user allows it.
>FFS. This is like the battery api. Too much time spent on "can we", too little time spent on "should we".
The battery API can be tremendously useful on mobile if used effectively. For example, disabling certain animations and high end GPU intensive effects if the battery is less.
So Javascript has always controlled your radios. This is just one more connection.
That is to say, without the analogy, that it's the ad companies who will abuse these, ruining virtually every web site that exists, and jading users against the technology for the few websites who aren't abusing it.
Except protecting against the "few bad apples" is exactly what we're supposed to be doing. Eg you made a point that your use cases are all served over HTTPS - why should we be doing this when it adds complexity, adds bandwidth and breaks many legitimate corporate management tools? The reason we bother with TLS is precisely because of "a few bad apples".
The point of security is to harden against those bad apples rather than ignore they exist just because developers want a shiny new toy to play with.
I fundamentally disagree with that. Yes it has a permissions system but is it really all that robust? Let alone the most robust of any platform? First off you're dependant on the browser implementing that correctly (that's not always the case) and often there are thousand different ways you can still do naughty things even if those permissions are implemented correctly. Then there are the thousands of vulnerabilities built into the very design of the web that developers (of both web and browsers) are constantly having to code around (XSS, et al). And that's without even addressing the current problems we have with data leakage and privacy concerns that we seemingly have little control over at all.
Compare that to networking where you have VLANs, subnets, firewalls and other network ACLs; or Linux servers where you have tools like SELinux. These tools might not be simple to use from the outset but their certainly a great deal more robust than any of the models the web has offered us thus far.
I'll let you in on a secret: Facebook is also controlling your graphics card, and CPU, and memory. Controlling as in "sending HTML that is then displayed via those hardware components".
And just like a media query can "access" your device orientation, panoramic media can adapt to the data from accelerometers.
The missing information here is the concept of "secure contexts": https://w3c.github.io/webappsec-secure-contexts/#intro. Being able to use this data does not mean that it can be send back to the server.
"Your Wells Fargo bank accounts perfectly safe from bank employees because armored cars are used to transport money. They don't let normal bank employees into the back of those vehicles. Only licensed and bonded security guards are allowed."