Live data from Hacker News

Chromium devs want the browser to talk to devices, computers directly

theregister.com

11–20 of 89 posts

Re: Chromium devs want the browser to talk to devices, computers directly

#11
"Note that this capability is already available to Chrome Apps and Extensions and in no scenario will we be handing it out like candy to any website that asks nicely; [the API] will come with a higher barrier to use."

Involving Google as a gatekeeper, of course.

Google is trying to establish the level of control on the Web it has on Android.

Re: Chromium devs want the browser to talk to devices, computers directly

#12
Local apps

- I can install once and check signature.

- I can store them in a backup for later forensics if they do something bad.

- I can firewall the process only to required services.

- I can disable outside network access for local process.

- I can analyze what it does before and after the fact.

- They can be scanned by a malware scanner / virus scanner.

Web apps:

- need network access to load (and probably at runtime?),I cant firewall off...

- can be refreshed by app provider - targetted to a specific user.

- Traffic is bundled together with chromium?

- I have no clue after the fact what happened. I cant sniff https traffic that app used to load its code...

Bad App owners should be considered as well... or well intentioned but hacked ones...

Re: Chromium devs want the browser to talk to devices, computers directly

#13

Until widespread code-signing exists on the web this seems incredibly reckless to expose. Even if you require https and put it behind a modal, history has shown that both of those measures are not impenetrable barriers to attackers and raw sockets open up a whole new set of attacks. HTTPS is basically useless for authenticating dangerous code: There are thousands of https domains out there that you can easily put you…

> Until widespread code-signing exists on the web this seems incredibly reckless to expose. [...] HTTPS is basically useless for authenticating dangerous code: There are thousands of https domains out there that you can easily put your own code onto, and many of them have EV/DV certificates with reputable names like GitHub attached to them so there won't be any obvious red flags other than the text of the domain name…

You can sign the code on your own computer (which might even be offline) before deploying on some other company's server.

So, it's harder for an attacker to get their code signed using your certificate. Hacking into the website would be useless; they'd have to get the code into the development environment.

Or to put it another way, an HTTPS server automatically signs any file that it serves. That's too easy.

Re: Chromium devs want the browser to talk to devices, computers directly

#14
I don't know; I understand the cynicism here.. But can we assume an optimistic scenario where vendors are able to properly address the security implications and this enables web developers to build all kinds of new applications? I for one would love to be able to write web applications that could, say, control the lights in my house or smart devices. I hate interfacing with my phone to control these types of actions; I don't have the same bandwidth with my phone as I do with a full-blown computer, and therefore use my phone as little as possible. Therefore, I am closed off from really having fine-grained control over the devices on my LAN. Using the browser for this type of behavior would be awesome, IMO.

Re: Chromium devs want the browser to talk to devices, computers directly

#15
post #11

"Note that this capability is already available to Chrome Apps and Extensions and in no scenario will we be handing it out like candy to any website that asks nicely; [the API] will come with a higher barrier to use." Involving Google as a gatekeeper, of course. Google is trying to establish the level of control on the Web it has on Android.

Google just wants browsers to become more powerful cuz then more people will use Chromebooks. since everything can be done on a browser.

Why do you think PWA's are being pushed so hard by google? So people can build PWA's that also run on Chromebooks. No need for native apps

Re: Chromium devs want the browser to talk to devices, computers directly

#16
post #4

Earlier quoted context omitted.

Why does discord even let users access dev tools? This is trivially easy to disable in prod builds. Seems odd. Is there a valid use case?

> Why does discord even let users access dev tools? This is trivially easy to disable in prod builds. Even if you disable the usual way to pop the dev tools open in desktop electron mode, this is a dangerous attitude. A malicious client can always edit the DOM, send arbitrary data to your server, read whatever you send back, etc. "Disabling the dev tools" is never the correct solution to any security problem.

I didn’t say that they should do this for security of the execution environment of the code, I’m not sure how you got to that interpretation. The GP said that there is output to tell users not to compromise themselves by blindly pasting unsafe code, which is easily prevented by disabling dev tools altogether, and there is no reason for an end user to have access to dev tools in an electron app. The other replies are probably what the GP meant and were related to the web version of discord.

Re: Chromium devs want the browser to talk to devices, computers directly

#17
post #5
post #4

Earlier quoted context omitted.

Why does discord even let users access dev tools? This is trivially easy to disable in prod builds. Seems odd. Is there a valid use case?

I assume the parent is referring to the web version, where a big warning is output on the console of the browser’s built-in dev tools. I don’t know of any way for a website to disable the browser’s dev tools.

Makes sense, forgot there was a web client. Thanks!

Re: Chromium devs want the browser to talk to devices, computers directly

#18
post #15
post #11

"Note that this capability is already available to Chrome Apps and Extensions and in no scenario will we be handing it out like candy to any website that asks nicely; [the API] will come with a higher barrier to use." Involving Google as a gatekeeper, of course. Google is trying to establish the level of control on the Web it has on Android.

Google just wants browsers to become more powerful cuz then more people will use Chromebooks. since everything can be done on a browser. Why do you think PWA's are being pushed so hard by google? So people can build PWA's that also run on Chromebooks. No need for native apps

I think PWA's were pushed because the google cannot crawl native applications for its search engine.

Re: Chromium devs want the browser to talk to devices, computers directly

#20
post #15
post #11

"Note that this capability is already available to Chrome Apps and Extensions and in no scenario will we be handing it out like candy to any website that asks nicely; [the API] will come with a higher barrier to use." Involving Google as a gatekeeper, of course. Google is trying to establish the level of control on the Web it has on Android.

Google just wants browsers to become more powerful cuz then more people will use Chromebooks. since everything can be done on a browser. Why do you think PWA's are being pushed so hard by google? So people can build PWA's that also run on Chromebooks. No need for native apps

> Google just wants browsers to become more powerful cuz then more people will use Chromebooks.

This has little to do with Chromebooks. Google just want to be the single purveyor of the web, period. They already have the most popular browser. Firefox and Safari fought them on quite a few fronts [1]. Then Edge became Chrome. Now Mozilla basically laid off everyone. Safari only exists on MacOS and iPhones (a large market, yes, but small in the grand scheme of things).

Chrome will only accelerate its blatant disregard of anyone and push more and more internally developed barely tested crap.

[1] https://mozilla.github.io/standards-positions/ scroll down to harmful. Of course, many of those considered harmful are already implemented in Chrome. WebUSB, enabled by default in Chrome 61. Signed HTTP Exchanges, enabled by default in Chrome 73. Media Feeds, enabled by default in Chrome 85. And so on

Post reply on HN