Slashdot Mirror


Chrome Is Nearly Ready To Talk To Your Bluetooth Devices (engadget.com)

Jon Fingas, writing for Engadget: Don't look now, but your web browser is about to become aware of the devices around you. After months of testing, Google has switched on broader experimental support in Chrome and Chrome OS for Web Bluetooth, which lets websites interact with your nearby Bluetooth gear. You could use a web interface to control your smart home devices, for instance, or send data directly from your heart rate monitor to a fitness coach. At the moment, trying Web Bluetooth requires the stars to align in just the right way. You'll need a pre-release version of Chrome 53, and you'll naturally want to find (or create) a website that uses the tech in the first place.

151 comments

  1. Do not want by Anonymous Coward · · Score: 5, Insightful

    Please stop this.

    1. Re: Do not want by Anonymous Coward · · Score: 0

      Yippee, porns ads blasting out of your sound bar, your Skype chats being intercepted by blackmailers and websites that can keylog your friend's BT keyboards.

      Are these dipshits using the term security ironically?

    2. Re: Do not want by tepples · · Score: 2

      Google's page about this new feature states that a site cannot use Bluetooth until the user clicks:

      User Gesture Required

      As a security feature, discovering nearby Bluetooth devices with navigator.bluetooth.requestDevice must be called via a user gesture like a touch or mouse click.

      Did you click to enable "porns ads blasting out of your sound bar"? Did you click to enable "your Skype chats being intercepted by blackmailers"? DId you click to enable "websites that can keylog your friend's BT keyboards"?

    3. Re: Do not want by Anonymous Coward · · Score: 0

      Because there's never been any malware that tricks the user into clicking on something? Or browser exploits that bypass the security subsystem?

    4. Re: Do not want by tepples · · Score: 1

      Because there's never been any malware that tricks the user into clicking on something?

      Such malware exists as web applications. Such malware also exists as native applications. What's the substantial difference there?

      Or browser exploits that bypass the security subsystem?

      Windows desktop apps and Linux X11 apps don't have a "security subsystem" in the first place: they run with full access to your entire user account. As I understand it, that's why some GNU/Linux distributions are trying to replace X11 with Wayland or Mir, because X11 is hard to isolate.

    5. Re: Do not want by macs4all · · Score: 1

      Yippee, porns ads blasting out of your sound bar

      At least Safari has a "Silence This Tab" feature.

    6. Re: Do not want by Anonymous Coward · · Score: 0

      ... or companies that exist to monitize users and in the process present them with misleading information about what is happening...

    7. Re:Do not want by internerdj · · Score: 2

      On the other hand, every website in the %#@*ing world wants me to use their terrible app and put their greedy little fingers in my phone rather than let me use their mobile capable website. If this means companies will start relying on browsers again, bring it on and give me more.

    8. Re: Do not want by fyngyrz · · Score: 1

      Did you click to enable "porns ads blasting out of your sound bar"?

      Imagine a world where a clickable dialog sourced from a web site doesn't produce the result it said it would. Or where a user might not carefully read a dialog from the OS.

      I know it's difficult, but let's assume some other dimension, or perhaps through a wormhole. :)

      --
      I've fallen off your lawn, and I can't get up.
    9. Re: Do not want by tepples · · Score: 1

      What's the difference between a website getting the user to click "Allow Bluetooth from this site" and a website getting the user to click "Download and install this native application"? Both have the possibility that it "doesn't produce the result it said it would. Or where a user might not carefully read a dialog from the OS."

    10. Re: Do not want by fyngyrz · · Score: 1

      Oh, I agree, You don't want to do either one.

      The argument that since one really bad thing exists, the other really bad thing is okay, though... I can't see that flying.

      --
      I've fallen off your lawn, and I can't get up.
    11. Re:Do not want by Anonymous Coward · · Score: 0

      And I just turned Bluetooth off on everything.

    12. Re: Do not want by fubarrr · · Score: 1

      Bluetooth Dildos!!!

    13. Re: Do not want by exomondo · · Score: 1

      What's the difference between a website getting the user to click "Allow Bluetooth from this site" and a website getting the user to click "Download and install this native application"

      The fact that the former just returns a list of nearby bluetooth devices. Then there are further prompts to allow the web application to access a specific device and further to that you would have to go through a pairing procedure if it weren't already paired to the system that the browser is running on.

    14. Re:Do not want by Aighearach · · Score: 1

      Talk about a solution trying to create a problem, wowsers!

      I hate features more and more all the time.

    15. Re:Do not want by Anonymous Coward · · Score: 0

      stop using that ad platform, problem solved. Install Firefox today.

    16. Re:Do not want by Anonymous Coward · · Score: 0

      So now the pron company has your phone number. OH GOOD!

  2. No, it won't by somenickname · · Score: 2

    "Don't look now, but your web browser is about to become aware of the devices around you.".

    No, it will not do that and it will never do that. Because that's a terrible fucking idea.

    1. Re:No, it won't by sirber · · Score: 1

      There is no end to tracking and telemetry...

      --
      Be or ben't
    2. Re:No, it won't by The-Ixian · · Score: 1

      I was thinking the same thing.

      Sounds like this is a whole new level of fingerprint-ability

      --
      My eyes reflect the stars and a smile lights up my face.
  3. If not web, then what OS-independent platform? by tepples · · Score: 0

    Would you rather lose the use of an application entirely because you own a Mac and the developer owns a Windows PC or vice versa?

    1. Re:If not web, then what OS-independent platform? by TheGratefulNet · · Score: 4, Insightful

      yes.

      I won't accept a browser that should be SAFE, touching things it should not.

      another example of the google children not thinking deeply about what they are doing. simply just doing because they CAN rather than because they SHOULD.

      if google is behind it, chances are its invasive and not in your best interest, more often than not.

      sigh......

      --

      --
      "It is now safe to switch off your computer."
    2. Re:If not web, then what OS-independent platform? by sexconker · · Score: 1

      I certainly would.

      If the application is on Linux I can use it and so can anyone else who cares.
      If it's on Windows I can use it and so can anyone else who cares. Windows is ubiquitous, despite its shittiness. Also emulators exist (yes, WINE is an emulator, it's just not emulating hardware).
      If it's on OSX and only OSX it's likely not worth using.
      If it's on iOS and only iOS it's likely not worth using.
      If it's on Android it's likely not worth using but I can use it and so can anyone else who cares. Windows is ubiquitous, despite its shittiness. Also emulators exist.

    3. Re:If not web, then what OS-independent platform? by tepples · · Score: 1, Insightful

      I won't accept a browser that should be SAFE, touching things it should not.

      Yet I infer that you'll accept a native application, which presumably has even greater privileges to access the data in your user account, over a web application running inside a web browser's sandbox. How are native applications more secure than web applications?

    4. Re:If not web, then what OS-independent platform? by TheGratefulNet · · Score: 4, Insightful

      I can choose NOT to run a closed-source app.

      how do I know that my browser is not doing bad things behind my back? I have a browser open all the time, as do most. that, alone, makes this idea super stupid.

      if I choose to run a BT app, I'll run one that I trust. and I'll end it when I'm done.

      I have zero need for linking in vmlinux to a FUCKING BROWSER and making the fucking thing bootable. given time, the children at google will want to do that, too.

      oh, and systemd needs to be mixed into this somehow. I feel it will be more complete if they do that (lol).

      --

      --
      "It is now safe to switch off your computer."
    5. Re:If not web, then what OS-independent platform? by tepples · · Score: 1

      Also emulators exist (yes, WINE is an emulator, it's just not emulating hardware).

      Have you had a good experience using Bluetooth devices in applications in Wine, such as a Fitbit device's sync application? AppDB reports Fitbit as "Garbage" because sync does not work.

    6. Re:If not web, then what OS-independent platform? by Anonymous Coward · · Score: 1

      Yet I infer that you'll accept a native application, which presumably has even greater privileges to access the data in your user account

      Your presumption is incorrect.

      Native apps can be walled off by lightweight virtualization technologies, or even simply separate user accounts enforced at the kernel level.

      While one could also separate a web browser in this way, having it be the default behavior then requires this separation, where it did not before. There will probably not even be a user level switch to turn the bloody thing off, and anyway such switches have a habit of mysterious disappearances.

      Now, I don't use Chrome, for reasons like this. FF is better, but far from perfect itself, and getting steadily worse over time. The problem is that the more stupidity gets added to browsers, the less and less able the general public (who has no clue how to sandbox something with existing OS facilities) is to deal with it. So, they end up with the worst end of things, much like they have with all the malware and ransomware infesting the Windows ecosystem. Tech literate people can use Windows without being so infected, but the average person cannot, because of all the stupid choices that were made and they are unprepared to deal with.

    7. Re:If not web, then what OS-independent platform? by Anonymous Coward · · Score: 0

      posting as anon cuz want my votes to stay.
      YES. I don't want a windows developer to have anything to do with my life. I have yet to see a competent windows developer in person. there may be 5 of them that I have not had the pleasure to see. please don't write cod for my luhnix.please. you suck at everything even remotely related to security.

    8. Re:If not web, then what OS-independent platform? by macs4all · · Score: 1

      If it's on OSX and only OSX it's likely not worth using.
      You're a retard. And a hater.

    9. Re: If not web, then what OS-independent platform? by Anonymous Coward · · Score: 0

      You are misinformed.

      Browsing the Bluetooth web has no different security issues than browsing the regular web.

      Further more, it's optional to browse it.

    10. Re:If not web, then what OS-independent platform? by DarkOx · · Score: 4, Insightful

      Native apps don't usually mix in code from untrusted sources at run time they way basically every web app that includes ads of any kind does.

      Native apps don't usually have comments and data from other untrusted users that would by trying attacks like XSS against me. Native apps won't be vulnerable to CSRF and similar either.

      The web browser is a little to open a platform for giving access to hardware like that.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    11. Re:If not web, then what OS-independent platform? by tepples · · Score: 1

      Native apps don't usually have comments and data from other untrusted users that would by trying attacks like XSS against me.

      Not even a mail user agent?

    12. Re:If not web, then what OS-independent platform? by Anonymous Coward · · Score: 0

      Mail user agent does not run arbitrary scripts from unknown and untrusted third parties - at least none of the ones I've ever used. Neither does it have the ability to talk to bluetooth devices. Those comcast emails I get with big holes in them? That's because my mail client thinks it would be utterly moronic to go fetch arbitrary HTML and javascript from the web and execute it. It was that way out of the box, and I'm inclined to agree with it.

      Mail agents speak POP3 or IMAP, both of which are well defined protocols not intended to let the remote side have arbitrary control.

    13. Re:If not web, then what OS-independent platform? by tepples · · Score: 1

      Mail user agent does not run arbitrary scripts from unknown and untrusted third parties - at least none of the ones I've ever used.

      Then you must not have used Outlook Express back when it ran JavaScript in HTML mail by default.

      Those comcast emails I get with big holes in them? That's because my mail client thinks it would be utterly moronic to go fetch arbitrary HTML and javascript from the web and execute it.

      How long did it take developers of HTML mail clients to catch up to that?

    14. Re:If not web, then what OS-independent platform? by exomondo · · Score: 1

      I won't accept a browser that should be SAFE, touching things it should not.

      If you don't want it to touch certain things then enforce those restrictions yourself. For all the complaining about the "dumbing down of computers" I see here there is a persistent attitude that applications should do exactly what you want without you having to do the unthinkable task of customizing it by turning a setting on or off, or restricting what that application has access to.

      If your personal opinion is that it should not have access to those things then don't allow it to. I personally agree with you, but I'm not about to suggest that nobody else is allowed to develop functionality like this and nobody else is allowed to have it just because I don't want it.

    15. Re:If not web, then what OS-independent platform? by exomondo · · Score: 2

      how do I know that my browser is not doing bad things behind my back? I have a browser open all the time, as do most. that, alone, makes this idea super stupid.

      Well you say you have a browser open all the time so you're obviously not very worried about your confidence that it's not doing bad things behind your back right now.

    16. Re:If not web, then what OS-independent platform? by sexconker · · Score: 1

      Look guys, macs4all can't even quote properly. How cute!

    17. Re:If not web, then what OS-independent platform? by zlives · · Score: 1

      it will probably go like this (if not in first iteration but eventually)
      you get a choice!!!

      1.connect Bluetooth devices to your pc (yes/no)
      2.connect browser to bluetooth devices connected to your PC (yes/no)

      so if you want your headset to work with your browser now every bluetoothe device is also available to the ad giant to build a profile.

    18. Re:If not web, then what OS-independent platform? by exomondo · · Score: 1

      No, it will probably work on a per-site basis given that is how the microphone and webcam functionality works.

    19. Re:If not web, then what OS-independent platform? by macs4all · · Score: 1

      Look guys, macs4all can't even quote properly. How cute!

      I knew as soon as I posted that some "perfect" Slashtard Pinhead would catch my HTML faux-pas TYPO.

      I'm glad to see that I can depend on the idiot fuckers on here to instantly point out everyone's mistakes but their own...

      Now kindly do the entire internet a favor and immediately and vigorously spontaneously combust, will you?

    20. Re:If not web, then what OS-independent platform? by WaffleMonster · · Score: 1

      Yet I infer that you'll accept a native application, which presumably has even greater privileges to access the data in your user account, over a web application running inside a web browser's sandbox. How are native applications more secure than web applications?

      Abstract answer to your abstract question many native applications can get by with much less total complexity than required simply to invoke "hello world" on a modern browser stack. What does the browser weigh in at? 10-20 MLOC? All of that on top of cost of OS provided facilities. I bet many applications people use come in way under that.

      Significant reductions of complexity can translate into reduced avenues for error and compromise as complex facilities of modern browsers are not needed.

      As far as running untrusted code on trusted systems I'll let the wisdom of this speak for itself. The solution seems pretty straight forward to me... DON'T DO IT. I know in a word of "app stores" and predatory attitude the entire tech industry seems to have adopted toward end users this seems more than a little naive.

      In my view when browsers keep piling on features intended to emulate desktop functionality they are only putting everyone at increased unnecessary risk because it is beyond anyone's capability to control/secure it.

      The most technically tractable prayer we have for effective application isolation in trust challenged environments is at the level of hypervisor. Anything above that is way too complicated to support general purpose applications without resembling Swiss cheese and even this is probably asking too much.

    21. Re:If not web, then what OS-independent platform? by Aighearach · · Score: 1

      How are native applications more secure than web applications?

      They're safer because I didn't start them, and I don't feed code from public sources to them to execute. If it isn't running, it isn't going to have a security bug that makes it accessible to some random malware user.

    22. Re:If not web, then what OS-independent platform? by Aighearach · · Score: 1

      oh, and systemd needs to be mixed into this somehow. I feel it will be more complete if they do that (lol).

      That is exactly the point; systemd should be worrying about activating any hot-plugged multimedia devices that would affect the browser experience, and the browser doesn't need to know about it. It just needs to know what audio inputs and outputs it is allowed to use.

    23. Re:If not web, then what OS-independent platform? by AmiMoJo · · Score: 1

      In many ways the browser is actually a good platform for app, so perhaps we should be welcoming this. It's heavily sandboxed and partitioned, and the attack surface is much smaller than for an app running natively on an OS. "Apps", really web sites, don't require installation or updates. It even forces the apps to be somewhat open source, even if they do use a lot of obfuscation and service side processing.

      There are huge down-sides as well, but as a platform the browser isn't the worst one out there.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    24. Re:If not web, then what OS-independent platform? by tepples · · Score: 1

      They're safer because I didn't start them

      You didn't start a web application either because you didn't whitelist the domain it came from in your script blocker.

    25. Re:If not web, then what OS-independent platform? by tepples · · Score: 1

      systemd should be worrying about activating any hot-plugged multimedia devices that would affect the browser experience, and the browser doesn't need to know about it. It just needs to know what audio inputs and outputs it is allowed to use.

      Then how would a web application use Bluetooth devices other than multimedia devices, such as a Bluetooth pedometer?

    26. Re:If not web, then what OS-independent platform? by Anonymous Coward · · Score: 0

      Turning the browser into an OS is not the answer. Secondly, we should not be encouraging proprietary standards on the web. Open data protocols/services/formats published and controlled by an international organization is the answer. My interests are never going to be aligned with an advertising company that doesn't see me as a customer but as a 'pimp-able commodity'.

    27. Re:If not web, then what OS-independent platform? by Aighearach · · Score: 1

      Right, but that is like saying that malware is OK, because I personally won't be affected by it.

      Also, sometimes, rarely but sometimes, I temporarily allow an otherwise-lame or poorly known domain to use javascript. It has to be considered, I have to know what the dangers are, I can't just ignore the specific dangers; if I did I wouldn't even be able to guesstimate if I'm protected or when.

  4. Nope by sexconker · · Score: 1

    There's a reason every shitstain Intel chipset I use has its bluetooth, NFC, and wifi radios disabled and, where possible, antennas disconnected. I also kill off the IR port.

    1. Re:Nope by Anonymous Coward · · Score: 0

      Disabling IR port is top level tinfoil paranoia

      I approve

    2. Re:Nope by Anonymous Coward · · Score: 0

      How do you know they are really disabled?

    3. Re:Nope by Anonymous Coward · · Score: 0

      How do you know they are really disabled?

      Because it has a switch. I mean come on, they may be malicious and underhanded but they sure as hell aren't going to deliberately mislabel a switch now are they? That would just be going to a place even my paranoia can't reach.

    4. Re:Nope by Anonymous Coward · · Score: 0

      they may be malicious and underhanded but they sure as hell aren't going to deliberately mislabel a switch now are they?

      No, of course not... They wouldn't mislabel a switch. But there is not always a switch. What switch are you talking about exactly?

      Anyway, isn't it possible that (when "switched off") some wireless-capable devices are maintaining a low energy state to be able to receive packets? And when they receive a magic packet or a series of such packets, they become active?

    5. Re:Nope by toddestan · · Score: 1

      That's assuming said switch actually physically turns off the device, and just doesn't switch a digital line that tells the driver to tell the wireless chipset to take a nap. I've seen a few Linux laptops where the wireless disable switch did nothing, because the driver didn't know or care about it.

    6. Re:Nope by Anonymous Coward · · Score: 0

      Exactly. The only switch I would trust would be one that physically cuts off the power to the device.

  5. That's what Java is for, silly.... by Anonymous Coward · · Score: 0

    ducks.

  6. Nope! by ilsaloving · · Score: 2, Insightful

    All aboard the nope-train to nopeville!

    Apparently no one at google ever saw Jurrasic Park, or they would know that scene with the line "Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should."

    The internet is a cesspool of fetid, rotting miasma, and you want it to be able to control real world things with no managed server in between? Are they really that thoughtless? Apparently they are!

    1. Re:Nope! by TheGratefulNet · · Score: 2

      this proves it, time and time again, that CHILDREN are running google

      "hey, neat-o! lets do THIS. and THIS. annnnnnd THIS."

      yeah, children who don't understand that because you can does not mean you should.

      they are totally out of control and mgmt seems to not care. or, mgmt is also filled with twentysomthings who are too new to the world to really get what the implications are of their actions.

      I wish some adults would be in charge of this IoT madness, for a change.

      --

      --
      "It is now safe to switch off your computer."
    2. Re:Nope! by Locke2005 · · Score: 1

      More like, "Hey, let's implement this neat feature, and then wait to see if anyone can figure out a way to make it actually useful for something!" When you've got as much cash in hand as Google/Alphabet or Amazon, you can afford to throw a LOT of stuff at the wall just to see what actually sticks.

      --
      I've abandoned my search for truth; now I'm just looking for some useful delusions.
    3. Re: Nope! by Anonymous Coward · · Score: 0

      Yeah best case scenario is that all of these developments are meant to bring these technologies to the public attention (where they can be accounted for) instead of them being covertly released in the wild.

    4. Re:Nope! by Anonymous Coward · · Score: 0

      Why? What is your actual specific concern outside of you are afraid of what you don't understand?

      Yours is the standard irrational, senile old person response to everything you can't understand. But it doesnt matter because you arent doing anything anyway, you will just sit there yelling at the screen about how you dont understand why things are the way they are and if you dont think something is useful to you then it shouldnt be done because its not useful to anybody.

  7. Let's widen the attack surface, shall we? by Anonymous Coward · · Score: 0

    Because we don't have enough security and privacy problems as it is.

    1. Re:Let's widen the attack surface, shall we? by fustakrakich · · Score: 1

      Yes, another vector, another challenge. What could be more exciting?

      --
      “He’s not deformed, he’s just drunk!”
    2. Re: Let's widen the attack surface, shall we? by Anonymous Coward · · Score: 0

      Better the vector you know than the vector you don't know. Technology expands (not always in a good way) and we adapt.

  8. Problems with BT & Chrome OS on Multiple Devic by mykepredko · · Score: 4, Interesting

    I have been taking advantage of the BT (SPP/RFCOMM) operation in Chrome and ChromeOS for a white now on a variety of devices and for the most part it works quite well. My app is a Chrome App (Extension) in which the code is written in JavaScript.

    Unfortunately, when you have multiple ChromeOS systems (ie Chromebooks) connected to BT devices simultaneously, you experience some weirdness (previously paired devices not being found with a "undefined" error and requiring several connection attempts as well as connections failing after a few minutes). I'm working at figuring out what the problem is.

    The Chrome.Bluetoothsocket discover and connect APIs will find, pair and connect devices quite nicely on all Windows and Linux systems but not Macs. Macs require going into "System Preferences" and pairing your device beforehand. Linux requires something like Blueman to be installed and works reasonably well.

    This could provide some interesting functionality, but I suspect there will be problems with the first implementations along with the issues listed above. It will probably be solid in 2-3 releases (4 to 6 months) after multiple users have identified issues with it.

  9. Re:Problems with BT & Chrome OS on Multiple De by parallel_prankster · · Score: 1

    I havent looked at the Chrome SDK for this yet, what are the security implications though? Thats really the question on everyones mind.

  10. HTTPS only. Again. by tepples · · Score: 3, Interesting

    Another day, another new web API that's impractical to test across a home or small office LAN, just like Service Workers before it.

    you'll naturally want to find (or create) a website that uses the tech in the first place.

    I have one machine on my home LAN that I want to use as a server, and another machine that I want to use as the client. But from Google's page about this new feature:

    HTTPS Only

    Because this experimental API is a powerful new feature added to the Web, Google Chrome aims to make it available only to secure contexts. This means you’ll need to build with TLS in mind.

    It recommends running python -m SimpleHTTPServer on localhost. But that fails if the web server and web browser are running on separate machines, which might be the case if the machine that you are using as a web server to test your app, such as a Raspberry Pi board, is incapable of running Google Chrome or incapable of connecting to Bluetooth devices.

    I personally enjoy GitHub Pages for demo purposes.

    That's fine for demos that have reached the stage where they are ready for public consumption. I'm referring to the stage before that.

    To add HTTPS to your server you’ll need to get a TLS certificate and set it up. Be sure to check out the Security with HTTPS article for best practices there. For info, you can now get free TLS certificates with the new Certificate Authority Let’s Encrypt.

    Let's Encrypt issues certificates only for domains that have either A. publicly reachable dynamic DNS or B. a publicly reachable HTTP server. Neither of these is likely to apply to a machine on a home or small office LAN.

    1. Re:HTTPS only. Again. by Anonymous Coward · · Score: 1

      Self-signed certificates are not difficult to generate and install in your browser.

      https://help.github.com/enterprise/11.10.340/admin/articles/using-self-signed-ssl-certificates/

    2. Re:HTTPS only. Again. by tepples · · Score: 1

      An internal CA solves the narrow "developer on a home LAN" issue because a web developer is presumably tech-savvy enough to generate a root certificate and install it on the machine running Chrome. Thank you for your answer.

      Am I allowed to ask a second question about other problems with an HTTPS-only policy that I foresee, related to a home server appliance intended for use by less tech-savvy users on a home LAN? Or would that be moving the goalposts?

    3. Re:HTTPS only. Again. by tepples · · Score: 2

      A related but different question:

      I plan to develop an application that runs on a PC and acts as an HTTPS server that other PCs on the same home LAN can access. It cannot be accessed from the Internet; connections from outside 10/8, 172.16/12, or 192.168/16 are refused to protect the privacy of the information that the application stores.

      I want to make a web application instead of a native application so that I don't have to spend five times as long remaking the application for five different operating systems (Windows, macOS, X11/Linux, Android, and iOS).

      I have to use HTTPS instead of cleartext HTTP in order to make the page a secure context for sensitive web APIs. If a script on a cleartext HTTP origin other than the local machine attempts to access a sensitive web API, the browser will instead raise a security exception. Here are some examples of internal web applications that would need to use a sensitive web API:

      • An internal web app with functionality similar to Snapchat that operates only within a home would need Media Stream in order to use the camera, but Media Stream is HTTPS-only.
      • An internal web app to scan barcodes of products purchased at a grocery store would also need the camera.
      • A video streaming app wouldn't need HTTPS just to run, but it would need HTTPS to go full-screen.
      • A LAN game using WebGL would likewise need to go full-screen and/or set a pointer lock so that the player can aim with the mouse.
      • ObTopic: Likewise for a Bluetooth pedometer to count the steps that each member of the household has taken while wearing it.

      HTTPS is HTTP on TLS, and TLS needs a certificate. So what certificate should this app use? Should the app act as its own CA and require the user to install the app's root certificate on each machine that accesses it? I don't see how that would be practical for home users who aren't particularly tech-savvy.

    4. Re:HTTPS only. Again. by Anonymous Coward · · Score: 0

      I recommend turning your problem around, so that you understand the security problem, rather than starting with "I want to do this, so it ought to be easy" and hoping the security problem doesn't need solving.

      How do you ensure that Just Anybody can't do this? How do you stop Just Anybody accessing the device's camera, locking their mouse pointer, accessing their Bluetooth devices ? Don't start with "Oh, well I want to, so it should be made to happen" because the next step is that every customer wants these features disabled and forbidden, because they're being abused.

    5. Re:HTTPS only. Again. by tepples · · Score: 1

      So how do I make it secure without making it public?

    6. Re:HTTPS only. Again. by NexusJedi · · Score: 1

      Installing a cert into a browser is not actually hard, but just because the domain name is public doesn't mean the web-app has to be. You'll probably want a nice domain name for your app anyway, so running an internal DNS server is going to be desired anyway.

    7. Re:HTTPS only. Again. by Anonymous Coward · · Score: 0

      > It recommends running python -m SimpleHTTPServer on localhost. But that fails if the web server and web browser are running on separate machines

      *cough*
      $ python2 -m SimpleHTTPServer
      Serving HTTP on 0.0.0.0 port 8000 ...
      *cough*
      $ python3 -m http.server
      Serving HTTP on 0.0.0.0 port 8000 ...
      *cough*

      I guess you didn't try it or something.

    8. Re:HTTPS only. Again. by AmiMoJo · · Score: 2

      For testing you can simply generate your own certificate and manually install it on your PC and server. You only need to buy one if you need it signed by someone in the chain of trust, but if it is just for testing on your own systems then you, as administrator, have the power to trust whatever certs you like.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    9. Re:HTTPS only. Again. by tepples · · Score: 1

      You'll probably want a nice domain name for your app anyway, so running an internal DNS server is going to be desired anyway.

      Are you referring to a model in which the publisher of the app registers a domain, such as myapp.example, and allows the app's users to obtain certificates for subdomains inside *.users.myapp.example? That'd fail as soon as the app gets at least 20 new installs per week (source: Let's Encrypt Rate Limits).

      Or are you referring to a model in which each person who installs the app buys his or her own domain and sets up his or her own dynamic DNS server, making said server public so that Let's Encrypt can issue the certificate?

    10. Re:HTTPS only. Again. by NexusJedi · · Score: 1

      I was suggesting that the person running the app on their LAN register a domain name and get an SSL cert for it. That means the domain would have to be publicly accessible for the Let's Encrypt registration process, but wouldn't need to stick around indefinitely, nor would it be required to host the app publicly: the LAN's internal DNS server could resolve that domain to the app's internal IP, even if the domain resolves to a different, public IP outside the LAN.

      Also, not all cert issuers require the automated verification step (they verify your identity via other, non-programmatic means) and thus don't require the domain to every be publicly visible.

  11. Bullshit reporting by Anonymous Coward · · Score: 0

    Another 2-paragraph "article" from world-renowned media agency Engadget... Seriously? This is reporting? If all you can write are two paragraphs, put it in a tweet!

  12. "Managed" in what way? by tepples · · Score: 1

    The internet is a cesspool of fetid, rotting miasma, and you want it to be able to control real world things with no managed server in between?

    You mention a "managed server". Could you describe an architecture involving a "managed server" that you would find acceptable?

    1. Re:"Managed" in what way? by ilsaloving · · Score: 1

      Anything that provides a firewall between the internet and a device. eg: Client software that needs to be manually installed by the user onto their machine, which facilitates communication between the web and a device, in a restricted and controlled manner, only permitting a predefined set of operations to occur.

  13. Re: Problems with BT & Chrome OS on Multiple D by Anonymous Coward · · Score: 0

    If the Linux version is using bluez-utils as the back end, then expect issues. If not please point me to the code for whatever alternative they're using.

  14. Security is hard by sjbe · · Score: 2

    I can choose NOT to run a closed-source app.

    True though in practical terms that is of less value security wise than many imagine.

    how do I know that my browser is not doing bad things behind my back?

    Unless you've audited the code of the browser and compiled yourself it with a compiler whose code you also have audited you cannot know if a browser is doing bad things behind your back. That is true whether or not the source code is open source or closed. Open source does have its advantages but it just changes the attack surface rather than eliminating it.

    1. Re: Security is hard by ilsaloving · · Score: 2

      The browser isn't the issue. The issue is the drive-by ad-network delivered malware that people don't even know they're getting when they visit a random site. Even if you go to a site that you trust, there's *still* no guarantee that you're safe because they may serve something malicious by accident. This has happened more than enough times that this scenario should be front and center in everyone's minds.

    2. Re: Security is hard by Anonymous Coward · · Score: 0

      The browser isn't the issue. The issue is the drive-by ad-network delivered malware that people don't even know they're getting when they visit a random site. Even if you go to a site that you trust, there's *still* no guarantee that you're safe because they may serve something malicious by accident.

      Then maybe you shouldnt be on the internet, there are no guarantees and there never have been and it shouldnt have taken you this long to figure that out.

    3. Re: Security is hard by Anonymous Coward · · Score: 0

      I guess the main difference is that in case of dedicated program only those that need it will run it. As a part of browser it will be a security risk for everyone - even for users who never use the feature. And also a much more attractive bait for abusers.

    4. Re: Security is hard by ilsaloving · · Score: 1

      I can see why you responded as AC.

  15. This is amazing by Anonymous Coward · · Score: 0

    Especially considering my desktop doesn't have Bluetooth. Glad to hear Chrome found a way regardless.

  16. Re:Problems with BT & Chrome OS on Multiple De by somenickname · · Score: 1

    The problem isn't the technology, it's the ramifications of the technology. You want to take devices where security is, at best, an afterthought and allow them to interact with the internet? That's pure insanity. A web browser is already an enormous attack surface and people want to increase that attack surface by adding devices where security is non-existant? No thanks.

  17. Mucho Agradecido by Anonymous Coward · · Score: 0

    Thank you, much obliged!

    Yet another powerful reason to shun Chrome like the bloated malware it is.

  18. LibreJS by tepples · · Score: 0

    I can choose NOT to run a closed-source app.

    Likewise, you can choose NOT to run a closed-source web app using the LibreJS extension. It's made for Firefox; I'm not aware of a counterpart for Chrome yet.

  19. Chrome's sandbox by tepples · · Score: 2

    Native apps can be walled off by lightweight virtualization technologies

    Google Chrome already runs inside a sandbox that provides something akin to the "lightweight virtualization" you suggest.

    or even simply separate user accounts enforced at the kernel level.

    So if a home PC has five users, one for each member of the household, and 50 apps installed, would it need 250 user accounts, one for each member of the Cartesian product of users and apps?

    1. Re:Chrome's sandbox by Anonymous Coward · · Score: 0

      that provides something akin to the "lightweight virtualization" you suggest.

      It does not. The requirement here is to sandbox off Chrome (or the hypothetical standalone app) from the rest of my system, given the facilities they are adding to the browser. The page you linked to does not do this.

      one for each member of the Cartesian product of users and apps?

      Only the untrustworthy ones, which increasingly includes web browsers, which is a thing people are peeved about here. People do not want web browsers to become even more untrusted than they already are, although to be fair, that ship has already sailed to a large extent due to prior stupid choices of the same nature as this one. The alternative you were arguing against is a separate app for this purpose, which is less annoying to wall off and involves a much smaller fraction of most people's computer use. When you pile everything in the universe into one giant app, you lose granular control.

  20. Wait... by twmcneil · · Score: 1

    Is this part of that whole cluster-fuck where my fridge automatically orders milk when I'm low?

    No

    Thanks

    --
    "The ferrets, they're every where I tell you!"
    1. Re:Wait... by Anonymous Coward · · Score: 0

      It's the part where Hal takes control and sends your complete brain drain to Google for storage.

  21. Hahaha! I'm protected from this by Windows 7! by burhop · · Score: 1

    OK, "protected" is maybe not the right word. Microsoft is just not providing support for Bluetooth LE (GATT) prior to Windows 8. I'm assuming Chrome won't be providing their own BT stack.

  22. I have a really bad feeling about this by macs4all · · Score: 1

    This is dangerous business. Google needs to get this JUST right, or it will be a ridiculously easy-to-exploit attack vector.

    1. Re:I have a really bad feeling about this by jenningsthecat · · Score: 1

      This is dangerous business. Google needs to get this JUST right, or it will be a ridiculously easy-to-exploit attack vector.

      The problem is that "JUST right" is a state of limited duration. And all too often it's a VERY limited duration. As for Google getting it 'just right', even for 5 minutes - well, I suspect they really don't give a flying fuck, considering that they regard us all as mere experimental subjects anyway. We're all basically lab rats as far as Google is concerned.

      --
      'The Economy' is a giant Ponzi scheme whose most pitiable suckers are the youngest among us and the yet-unborn.
  23. Fuck them too by Anonymous Coward · · Score: 0

    Now you can do it with a Bluetooth enabled dildo or vagina. Seriously I can't think of any application of this beyond a bate/cam site.

    Why would I want in any state of my right on intoxicated mind to allow a browser to connect to hardware devices

  24. Well a positive for Firefox I guess by Anonymous Coward · · Score: 0

    So I am basically in the camp this is not such a good ideal. But one browsers privacy sell out is another browsers opportunity. So maybe Mozilla is thinking they may get some users back with this? I guess maybe the best thing is to just turn off your bluetooth when not using it. But does this mean Google Chrome will be monitoring what bluetooth device your using too? Like the whole camera thing I hope we can turn this feature off?

  25. Re:Problems with BT & Chrome OS on Multiple De by macs4all · · Score: 1

    Macs require going into "System Preferences" and pairing your device beforehand.

    At least SOMEBODY understands Security...

  26. Different attack surfaces by fyngyrz · · Score: 2

    There is still a notable difference between knowing you let the browser run on your computer, and knowing you let random websites reach out and meddle with your bluetooth devices.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:Different attack surfaces by exomondo · · Score: 1

      There is still a notable difference between knowing you let the browser run on your computer, and knowing you let random websites reach out and meddle with your bluetooth devices.

      So this feature is completely behind the scenes and transparent to the user to the point they don't even know it's happening? Or is it more like the webcam and microphone access we've had for years?

    2. Re:Different attack surfaces by Anonymous Coward · · Score: 0

      webcam and microphone is not directly accessible via the browser and needs some control service/driver.

    3. Re:Different attack surfaces by exomondo · · Score: 1

      webcam and microphone is not directly accessible via the browser and needs some control service/driver.

      And bluetooth doesn't need any kind of service or driver?

    4. Re:Different attack surfaces by AmiMoJo · · Score: 3, Insightful

      I have bad news for you. All major browsers have been offering web sites access to any attached webcams and microphones for many years now. Of course they ask you if you want to allow access first, and you can set an "always disabled" flag, but the code is in there.

      I find it quite amusing what Google has done. They build an OS on top of every other OS in the form of a browser, making the underlying system pretty much irrelevant. All apps run in the browser now - Google's office apps, their cloud file storage, video conferencing and soon health monitoring via Bluetooth sensors.

      I still don't want it.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  27. Different? by fyngyrz · · Score: 1

    Browsing the Bluetooth web has no different security issues than browsing the regular web.

    Yes, because the regular web can unlock your bluetooth door lock. And turn your bluetooth thermostat down and freeze your pipes.

    Oh.

    Wait.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:Different? by exomondo · · Score: 1

      Yes, because the regular web can unlock your bluetooth door lock. And turn your bluetooth thermostat down and freeze your pipes.

      I don't think you really understand how bluetooth works. This is about a web browser being able to interact with your bluetooth devices (like any other bluetooth device can), if your door locks can be compromised simply by having a bluetooth device able to interact with them it kind of defeats the purpose of them being locks now doesn't it?

  28. Ah, shit. by fyngyrz · · Score: 1

    Oh, this'll stick, all right. It'll smell, too.

    --
    I've fallen off your lawn, and I can't get up.
  29. IoT alternative by DrYak · · Score: 1

    The alternative being that your smart home devices/your heart rate monitor/security video surveillance camera/any other gizmo gets IoT enabled and uploads all its data to an even less secure cloud server that your controlling app or webapp must talk to.

    It's either direct link to remote control your gizmo.
    Or remote control with a round-trip over internet.

    I really prefer the first route, because it means that some body is going to reverse engineer it and release an opensource library that can talk to your gizmo to, all from the security of you own home server, without relying on any 3rd party or cloud component.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
  30. And then we... by fyngyrz · · Score: 1

    Technology expands (not always in a good way) and we adapt.

    Technology expands (not always in a good way) and we bend over.

    FTFY.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:And then we... by Anonymous Coward · · Score: 0

      Technology expands (not always in a good way) and we bend over.

      Speak for yourself. One could whine about it and ultimately take it like you do or adapt to it and implement a technical solution. If you're worried about access to bluetooth devices from the web browser then when the browser asks you simply don't allow it. If you don't trust that your wish is its command then use an open source browser. Or you can go even further because the nice thing about a customizable open source operating system is the ability to do things like add checks in the bluetooth kernel module interface to get the pid and ultimately find out the process name and check it against a whitelist of allowed applications for accessing bluetooth.

      But by all means if you prefer to just apply your mantra of bending over and taking it rather than exploring ways to resolve the issues then go for it.

    2. Re:And then we... by Anonymous Coward · · Score: 0

      You say "adapt" and I say that wasting all that time to switch browsers and implement checks in the kernel and so in is essentially bending over. Because it keeps happening over and over, and it prevents people from doing their job when it requires so much energy to deal with.

      CAPTCHA: fingered (not as bad, but still...)

    3. Re:And then we... by Anonymous Coward · · Score: 0

      No "bending over" is just submissively taking whatever they give you rather than making the effort to take control.

  31. How well does Bluetooth work in a Linux VM? by tepples · · Score: 1

    Client software that needs to be manually installed by the user onto their machine

    Which is useless if the client software isn't made for a particular user's PC's operating system, as I mentioned earlier. One way to use applications made for a different operating system is through a virtual machine. How easily can a Linux guest access Bluetooth devices paired to the host?

    1. Re:How well does Bluetooth work in a Linux VM? by Anonymous Coward · · Score: 0

      Which is useless if the client software isn't made for a particular user's PC's operating system

      Still vastly preferable. And open source has solved the "not made for a particular PC's operating system" problem. Any vaguely popular OSS gets immediately ported to anything with a CPU, usually including everything from IBM Z-series mainframes to 1970's single-board 6502 microcomputers with 4KB of memory and a single line alpha display for output.

      If it isn't available, it's still a net win to not have it available, than to allow the security clusterfuck the modern world seems intent on building.

    2. Re: How well does Bluetooth work in a Linux VM? by ilsaloving · · Score: 1

      At an absolute minimum, *some* process outside of Chrome needs to be the final arbiter of what can reach a Bluetooth device, even if it's just a process that presents the user with a "Yes or No" dialog when a site tries to do anything Bluetooth related.

      There are already enough issues with poorly secured Bluetooth devices. The last thing we need is to roll out the red carpet to every malware author on the planet.

    3. Re: How well does Bluetooth work in a Linux VM? by exomondo · · Score: 1

      At an absolute minimum, *some* process outside of Chrome needs to be the final arbiter of what can reach a Bluetooth device

      Your browser already has access to your network, the filesystem, camera, microphone, etc... and the protections and prompts are in the browser itself. Why is Bluetooth a special case?

      More to the point, people use remote access technologies, web-accessible NAS devices, web-accessible home automation, security systems, etc... all the time, why is Bluetooth suddenly such a worry?

    4. Re: How well does Bluetooth work in a Linux VM? by ilsaloving · · Score: 1

      Because a) bluetooth security is more often than not, a steaming pile of wank,
      b) Bluetooth is used in a huge variety of places,
      and finally c) the internet is a ridiculously hostile place.

      Internet Explorer has already taught us what can happen when you give a browser too much access to underlying hardware. Hell, drive-by malware infections are *still* an issue, mostly because of shitty ad-networks that happily pass malware onto legitimate sites. It also taught us how ruthlessly malicious actors will jump on any and all exploits.

      All you need is one or two bugs to exploit and before you can blink, a random server is able to connect to devices all around you, all because you happened to browse CNN or whatever at just the wrong moment, and the ad-network just shoved malware onto your machine. You want random websites being able to connect to and modify heart monitors, insulin pumps, baby monitors, your house environment system, etc?

      This is a whole level of risk beyond someone managing to sneak your webcam and microphone on. This has the potential to actively cause damage to things outside of your computer, and possibly even cause deaths.

    5. Re: How well does Bluetooth work in a Linux VM? by exomondo · · Score: 1

      Because a) bluetooth security is more often than not, a steaming pile of wank,

      The artbiter of access to any resource the browser has access to is in the browser itself (if you haven't configured any additional layers of access control). If the user allows access to a specific resource (in this case a bluetooth device) then what part of bluetooth security are you worried about?

      b) Bluetooth is used in a huge variety of places

      So are home networks and network-connected devices, your browser has access to this too. Not only that but many people expose their network through various external interfaces other than the browser for home automation, security, etc... and have done for a long time.

      c) the internet is a ridiculously hostile place

      Then don't connect your devices to it, that's in your power.

    6. Re: How well does Bluetooth work in a Linux VM? by maelkum · · Score: 1

      Your browser already has access to your network, the filesystem, camera, microphone, etc... and the protections and prompts are in the browser itself. Why is Bluetooth a special case?

      IMO, it's not about Bluetooth being a "special case". It's about not letting the browser access yet another resource and giving control of this resource to whatever JavaScript code the browser is executing at the moment.
      This "why worry about X if we already do Y and Z" attitude is kinda slippery slope, if you'd ask me.

      The protections and prompts are useless because users tend to just click "OK", "Allow" or whatever the button is to just close the dialog.

    7. Re: How well does Bluetooth work in a Linux VM? by ilsaloving · · Score: 1

      Because a) bluetooth security is more often than not, a steaming pile of wank,

      The artbiter of access to any resource the browser has access to is in the browser itself (if you haven't configured any additional layers of access control). If the user allows access to a specific resource (in this case a bluetooth device) then what part of bluetooth security are you worried about?

      Because the browser should *not* be the arbiter of access to hardware. That's the OS's job. Period. A web browser is particularly unique among applications in that it should at no point ever be considered trustworthy enough to have direct system level access, because it regularly deals with potentially hostile information.

      b) Bluetooth is used in a huge variety of places

      So are home networks and network-connected devices, your browser has access to this too. Not only that but many people expose their network through various external interfaces other than the browser for home automation, security, etc... and have done for a long time.

      You basically made my point now. There are literally millions of computers that are constantly being infected by malware of various kinds. And one machine in a household will usually infect all the other machines in that same household. Bluetooth devices have largely been shielded because of the layers of steps required in order to compromise one. Google is removing a large number of these steps with this new technology, turning it from being a PITA, to trivial. It's a brave new world to exploit!

      c) the internet is a ridiculously hostile place

      Then don't connect your devices to it, that's in your power.

      That's just nonsensically extreme. We are in an age where more and more services are now either only available on the internet, or are at least significantly more difficult to access outside of the internet. Hell, even standard mail service is being reduced. Short of becoming Amish, not having internet access is just not viable.

      *I'm* not worried about my own equipment, because I know what I'm doing. I'm worried about all the millions of people out there that don't have my level of expertise, and will be ripe for the plucking. You really expect people that set their password to "12345" to have the skill to not click "yes" on every random thing that comes across their screen?

      But, I guess you're right. Fuck 'em. Stupid me for actually caring about the security of people who otherwise don't know better.

    8. Re: How well does Bluetooth work in a Linux VM? by exomondo · · Score: 1

      Because the browser should *not* be the arbiter of access to hardware. That's the OS's job. Period.

      No it isn't. The OS's job is to provide an interface to the hardware, not access control. However if you feel that is appropriate then go implement it in one of the various FOSS operating systems and prove that it's more secure, clearly it would be in your interest to do so.

      Bluetooth devices have largely been shielded because of the layers of steps required in order to compromise one. Google is removing a large number of these steps with this new technology, turning it from being a PITA, to trivial

      Can you be a bit more specific about some of these things? You could trivialize the task of compromising pretty much anything by saying that. Exactly what layers of steps have they removed? And can you explain the PITA compromise that is now trivial?

      *I'm* not worried about my own equipment, because I know what I'm doing. I'm worried about all the millions of people out there that don't have my level of expertise, and will be ripe for the plucking.

      What exactly is it about bluetooth, specifically, that would make this so much worse than the accessibility of devices we have now?

      You really expect people that set their password to "12345" to have the skill to not click "yes" on every random thing that comes across their screen?

      So why are you advocating for the OS to be arbiter of access then? Obviously if that were the case then it would pop up a yes/no dialog to allow access to the hardware so while you claim to care about these people your characterization of them and your proposed solution demonstrate that you don't at all. So what exactly is your agenda here?

    9. Re: How well does Bluetooth work in a Linux VM? by exomondo · · Score: 1

      IMO, it's not about Bluetooth being a "special case". It's about not letting the browser access yet another resource and giving control of this resource to whatever JavaScript code the browser is executing at the moment.

      But that isn't what is happening, and that isn't what happens with the browser's access to your network or your filesystem or your camera or your microphone. There are checks in place beforehand, maybe you should list the actual steps rather than omitting the ones that don't serve your agenda.

      This "why worry about X if we already do Y and Z" attitude is kinda slippery slope, if you'd ask me.

      It's because for all the fearmongering and paranoia we see about every new thing. The question is what is special about X that we should worry about when we already to Y and Z with no problems.

      The protections and prompts are useless because users tend to just click "OK", "Allow" or whatever the button is to just close the dialog.

      Citation? I know this the common "stupid user" characterization but where is the truth to it? If a website asks for access to your camera and microphone do you just automatically say "yes"?

      Everybody wants to play devil's advocate and be the fearmongerer, which is fine if you're presenting actual evidence and solution to the problem you're outlining but most of the time here it's just contrived problems, no evidence and no proposed solution. As a result things like camera, microphone, filesystem, etc... access just get added to the browser anyway.

    10. Re: How well does Bluetooth work in a Linux VM? by ilsaloving · · Score: 1

      No it isn't. The OS's job is to provide an interface to the hardware, not access control. However if you feel that is appropriate then go implement it in one of the various FOSS operating systems and prove that it's more secure, clearly it would be in your interest to do so.

      I'm not even going to bother addressing the rest of your post, so I can only assume you're trolling me. Either that, or you honestly have no idea what operating systems have been doing for a long time now. Just in case it's the latter, I will explain:

      Every single operating system today has a multitude of security mechanisms of various forms, and various levels of effectiveness. From ACLs, to Group Policy, to Gatekeeper, to SELinux, security has very much become, if not always been, a crucial part of every non-trivial operating system on the planet. If you really don't believe that, then there's nothing I can do to convince you otherwise.

    11. Re: How well does Bluetooth work in a Linux VM? by exomondo · · Score: 1

      Every single operating system today has a multitude of security mechanisms of various forms, and various levels of effectiveness. From ACLs, to Group Policy, to Gatekeeper, to SELinux, security has very much become, if not always been, a crucial part of every non-trivial operating system on the planet.

      That is a user-configurable layer of security, if that's what you meant when you were talking about being the arbiter of access then we already have that. What I mean is that the OS isn't responsible for prompting you every time a process requests a resource, if that is what you want then you could implement that in a FOSS operating system. You can disallow access to resources broadly already and if mechnisms like SELinux are the kind of access control you are talking about then you already have that so what exactly is it you are complaining about?

      Of course if what you want is prompts for access every access to resources then it contradicts your point about "people that set their password to "12345" to have the skill to not click "yes" on every random thing that comes across their screen" and if it's systems like Group Policy and SELinux then that already exists. So what are you proposing, you say the browser shouldn't be the arbiter of access (which strictly speaking it isn't anyway) and obviously Group Policy and SELinux don't do what you're asking for because they already exist (presuming you didn't only just find out about them), you've indicated that a yes/no prompt is not suitable for users so what is the system you're asking for? How should the access control be implemented?

  32. Restriction by DrYak · · Score: 1

    how do I know that my browser is not doing bad things behind my back? I have a browser open all the time, as do most. that, alone, makes this idea super stupid.

    Are you familiar with FireFox's pop-ups "the website http:///{whatever}.com has requested access to your webcam/your microphone/your localisation/streaming your desktop/etc." ?

    Webapps in your browser can already get access to your microphone or stream a video of your desktop.
    But 99% of the regular pages don't need it.
    So, the default behaviour is that the few 1% webapps that need special access to some hardware need to first ask for it and a pop-up asks you if you grant access to it.

    A local .html file on your computer used as a webinterface to your thermostat ? Sure, grant it the permission.

    Your health insurance company asking bluetooth access to your fitness monitoring device ? You'll probably think first about it.

    Facebook asking bluetooth access to your insulin pump ? HELL, NO !!!!
    Thus you'll probably get a new type of pop-up showing up whenever a javascript code wants to get access some bluetooth device and you'll decide if you grant access to it.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re: Restriction by Anonymous Coward · · Score: 1

      The problem with that is when the software developers do not (could not have?) take(n) into account thousands of hackers on the internet trying to take control of an insulin pump via a web browser.

  33. BT Pairing/Connect Confirmation by mykepredko · · Score: 1

    Sorry - I should have noted that if it's a Windows device, the BT pairing dialog boxes come up and unless the PIN is trivial (0000, 1111 or 1234) the user must enter the pin and in either case, the user must confirm that they want to connect the device.

    As noted, if it's a Mac, you must go under "System Preferences".

    If it's a ChromeOS device, there is no user confirmation.

    There is no user confirmation under Linux.

  34. Why can't we leave it alone by Virtucon · · Score: 1

    Just let the damn browser be a browser, stop building O/S capabilities into Browsers, we don't need local storage, we don't need DRM we just want it to open and render web pages.

    --
    Harrison's Postulate - "For every action there is an equal and opposite criticism"
    1. Re:Why can't we leave it alone by tepples · · Score: 2

      Because developers want to deploy applications to users of Windows, macOS, X11/Linux, iOS, and Android. A native application works only on a single operating system unless separate native applications are made for each operating system. If accessing local storage, the camera, Bluetooth, or other features of your computing device requires a native operating system, then it'll likely end up being your preferred operating system that gets left out.

    2. Re: Why can't we leave it alone by Anonymous Coward · · Score: 0

      Then build for those platforms instead of relying on bloat code from Javascript and the browser. HTML5 promised to end these forays into operating system territory. What you'll get is a shit browser that's not good at the basics with more new and exciting attack vectors by trying to be everything to everyone.

    3. Re:Why can't we leave it alone by Anonymous Coward · · Score: 0

      No, it's companies pushing these features, not developers. Google makes most of its money from online ads. Thus anything that increases web use will likely increase their revenue. So any idea they have is pushed to use the web no matter if that's the best method for that idea or not.

      It would have been far easier and simpler to write common APIs for the main platforms. But no, the larger companies would lose too much control doing that. And have you ever designed a web application to look well on each of those platforms and the browsers (and their different versions) that run on them? It takes more work making your web app look cross-platform than it does making native apps using common libraries.

      The browsers are becoming the API for your computer. It really sucks, but the larger tech companies make the most money doing it that way. Too many people in the web ecosystem need to push their stuff. Native apps are simpler, less complex, easier to develop, and run better than web apps.

    4. Re: Why can't we leave it alone by tepples · · Score: 1

      Because developers want to deploy applications to users of Windows, macOS, X11/Linux, iOS, and Android. A native application works only on a single operating system

      Then build for those platforms instead

      Developing for one platform is less expensive than developing for five.

    5. Re:Why can't we leave it alone by tepples · · Score: 1

      Native apps are simpler, less complex, easier to develop

      So I've finished a native app for X11/Linux. How do I run it on anything but X11/Linux? In what way is developing five apps easier than developing one?

    6. Re:Why can't we leave it alone by Anonymous Coward · · Score: 0

      How else can web devs mine bitcoin on the user's processing power?

    7. Re: Why can't we leave it alone by 0ld_d0g · · Score: 1

      Developing for one platform is less expensive than developing for five.

      A monoculture is bad. Its bad when its a single OS, its bad when its a single development platform.

    8. Re: Why can't we leave it alone by tepples · · Score: 1

      Then what's the practical solution for a small developer, without the staff to support its app(s) on five different platforms simultaneously, to reach users?

    9. Re: Why can't we leave it alone by 0ld_d0g · · Score: 1

      There isn't one. For any small entity, funding the production of a generic item that works in every case is not possible in most situations. And that's not a bad thing, necessarily. It fosters alternatives. Why is software development special than say.. a small tire manufacturer unable to make a snow tire for every SUV or a small smartphone case manufacturer unable to make cases for every kind of phone, etc etc. Monoculture often produces strong network effects that aren't always pleasant. But like anything else, you could find certain exceptions. Certainly, having agreed-upon ways to store data or other inter-op protocols/services can be beneficial, etc. But I don't agree that we need a single development platform. This forces the feature-set to be this abstract commonality between wildly different OSs. Historically this has always produces platforms that totally suck, are inefficient (simply owning to the fact that abstraction always has a cost) and are resistant to innovation because of the forced requirement of compatibility.

  35. Does Linux run Cocoa or WPF yet? by tepples · · Score: 1

    And open source has solved the "not made for a particular PC's operating system" problem. Any vaguely popular OSS gets immediately ported to anything with a CPU

    How easy is it to port an application that uses an OS-specific GUI toolkit, such as Win32, MFC, WPF, or Cocoa, to X11/Linux?

    Besides, a lot of these applications are intentionally not free software because they use security through obscurity to deter users from violating the terms of the related online service. For example, a hacked client for a Bluetooth pedometer could allow users to falsify the sensor readings and thereby cheat at the "compare your daily activity to that of your friends" feature.

    Finally, no Windows application including a kernel-mode driver component can be usefully distributed under the GPLv3 because the "Installation Information" requirement of the GPLv3 is incompatible with the PKI for Windows kernel-mode drivers. As of Windows 10, only Microsoft can digitally sign a driver for distribution to the public, and only a corporation or LLC holding an EV code signing certificate from a commercial CA trusted by Microsoft can submit drivers to be signed.

    1. Re:Does Linux run Cocoa or WPF yet? by Anonymous Coward · · Score: 0

      How easy is it to port an application that uses an OS-specific GUI toolkit, such as Win32, MFC, WPF, or Cocoa, to X11/Linux?

      Clearly this depends on the design of the application so it's a 'how long is a piece of string' question but most can be ported from Win32 to POSIX and MFC to a cross-platform framework like Qt with minimal effort through existing migration frameworks (google them).

      Besides, a lot of these applications are intentionally not free software because they use security through obscurity to deter users from violating the terms of the related online service.

      That's just security in general, if I have the source and can recompile it then I can just remove the security bits.

      Finally, no Windows application including a kernel-mode driver component can be usefully distributed under the GPLv3

      What windows applications include inseparable coupling to kernel mode drivers? And of these applications which ones cannot simply dual license the driver component and why?

    2. Re:Does Linux run Cocoa or WPF yet? by tepples · · Score: 1

      most can be ported from Win32 to POSIX and MFC to a cross-platform framework like Qt with minimal effort through existing migration frameworks (google them).

      Are you referring to Qt/MFC Migration Framework?

      That's just security in general, if I have the source and can recompile it then I can just remove the security bits.

      If a Bluetooth pedometer syncs its readings to a server through a free application on a PC, how should the operator of the server protect other users from seeing falsified data contributed through a modified application?

      What windows applications include inseparable coupling to kernel mode drivers?

      Support for connecting to iOS devices in iTunes for Windows is one example, as far as I understand.

      And of these applications which ones cannot simply dual license the driver component and why?

      Because proprietary driver components specific to the client application are "by their nature extensions of the covered work" and thus fail to qualify under the GPL's exception for an "aggregate".

    3. Re:Does Linux run Cocoa or WPF yet? by exomondo · · Score: 1

      If a Bluetooth pedometer syncs its readings to a server through a free application on a PC, how should the operator of the server protect other users from seeing falsified data contributed through a modified application?

      It sends the encrypted data to the PC application which uploads that encrypted data to the server.

  36. Yeah, but I'm not ready by Trailer+Trash · · Score: 1

    I'm not ready for Chrome to talk to my bluetooth devices. I mean, I cannot imagine how that's going to be misused.

  37. This is Google by Anonymous Coward · · Score: 0

    If you look at Android, Google sniffs the Wifi SSIDs of the devices around your device, and from that it calculates a location. It even switches on the phone when its in low power to do this.

    If you decline it the right to sniff your location, and one of those devices around you agreed to have *their* location recorded. That Google infers your location from their location, and the fact you're near them.

    I bet Chrome already does this for Wifi on a PC, and I have no doubt Bluetooth will be tracked by them too.

  38. Bern t,here already by Anonymous Coward · · Score: 0

    Oh I used this version of Chrome already. It was called Internet Explorer 6 back then but we called it simply "Exploiter".

  39. Excellent by easyTree · · Score: 2

    My bluetooth-powered ad-blocker is almost complete.

  40. python3 -m https.server by tepples · · Score: 1

    $ python3 -m https.server
    /usr/bin/python3: Error while finding spec for 'https.server' (<class 'ImportError'>: No module named 'https')

    The command lines you give start cleartext HTTP servers, not HTTPS servers. Unlike pages served by HTTPS servers and pages served by localhost, pages served by cleartext HTTP servers on any machine other than localhost are forbidden to access sensitive web APIs.

  41. Web Bluetooth Community Group by tepples · · Score: 1

    Open data protocols/services/formats published and controlled by an international organization is the answer.

    That'd make sense if the Web Bluetooth Community Group didn't plan to eventually submit Web Bluetooth to W3C after the Chrome team finds and fixes any practical problems discovered during this field trial. As far as I can tell, a new technology has to be implemented in at least two browsers before W3C will consider it for inclusion in the HTML standard.

    1. Re:Web Bluetooth Community Group by Anonymous Coward · · Score: 0

      That would be nice if the W3C wasn't such a terrible standards body. It has done nothing but create shitty buggy standards that _nobody_ can implement fully and correctly. They have no fucking clue what they're doing.

      https://brendaneich.com/2004/0...

      https://www.nothings.org/writi...

  42. Cost of a domain plus dynamic DNS hosting by tepples · · Score: 1

    I was suggesting that the person running the app on their LAN register a domain name and get an SSL cert for it.

    So if an app gets a million users, each of these users would have to think of a domain name that doesn't already exist and then pay $15 to register it plus the cost of hosting public dynamic DNS for that domain so that Let's Encrypt can verify it. A lot of the DNS hosting plans that popular registrars bundle <cough>GoDaddy</cough> do not support dynamic DNS; instead, the domain owner is expected to log in with a name and password and use a web form to edit records in the zone file.

    That means the domain would have to be publicly accessible for the Let's Encrypt registration process, but wouldn't need to stick around indefinitely

    The domain and the public dynamic DNS would need to stick around as long as the user continues to use the app, as Let's Encrypt certificates expire after 90 days.