(Not to suggest bringing back IE's Local Intranet Zone permission...)
(Not to suggest bringing back IE's Local Intranet Zone permission...)
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simpl...
(Aside, is MDN's href linking broken for everyone or just me?)
For the full definition of what is a "simple" request: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simpl...
EDIT: Lol @ jakear making an almost identical response with the same Mozilla link.
Depends on the resource request. For example, <img> can be used to load remote resources without CORS, since the image data isn't shared with JS (trying to read it via a canvas marks it "tainted", and errors read requests). Meltdown/Spectre breaks this barrier down, which led to the introduction of COOP/COEP headers that require CORS on remote requests and would break this attack—except that you can ask the browser to send requests without cookies, re-introducing this timing attack.
When your browser navigates to a Discord channel's join page, it sends a request to localhost via this port and sends the channel ID to the client. This lets the app pop open a native 'Join Channel' experience.
I discovered this when I noticed how this behavior worked even in incognito mode and my browser was signed out of Discord.
Not. Cool. We need to massively improve sandboxing - of all applications - in the desktop world.
That is exactly what is nice about the feature, not having to be logged in on the browser, I love it.
||local^$all
This will block all requests to .local, even from .local itself. If you want to allow foo.local to talk to itself, say because you run a webserver on it, you'll have to add additional overrides for each such domain: @@||foo.local^$domain=foo.local,all
... or if you trust your .local entirely to allow any foo.local to talk to any bar.local, you can add one override for all of .local: @@||local^$domain=local,allThis experiment is of course limited to users who do not change defaults, since any MacOS user can easily change their hostname to anything they want, and that is quite easy to do, even for people who do not read HN. The "real name" might not be real if the user has changed the default. Is there any reliable way for the website to distinguish "real" from "fake" names in MacOS hostnames.
And, indeed, when I run the PoC from the article, all the requests are blocked by uB0.
The "new material" is https://developer.chrome.com/blog/private-network-access-upd... and changed from restricting all "public websites" to only restricting non-HTTPS sites.
It does at least say:
>Restricting private network requests to secure contexts is only the first step in launching Private Network Access.
... so maybe it'll become better later.