News for hackers. Stuff that matters.
Re:A proposal to restrict sites from accessing a users' loca... by Thorrez on Thursday June 05, 2025 @09:02AM (#44191309)
>edit: localhost won't be restricted:

It will be restricted. This proposal isn't completely blocking all localhost and local IPs. Rather, it's preventing public sites from communicating with localhost and local IPs. E.g:

* If evil.com makes a request to a local address it'll get blocked.

* If evil.com makes a request to a localhost address it'll get blocked.

* If a local address makes a request to a localhost address it'll get blocked.

* If a local address makes a request to a local address, it'll be allowed.

* If a local address makes a request to evil.com it'll be allowed.

* If localhost makes a request to a localhost address it'll be allowed.

* If localhost makes a request to a local address, it'll be allowed.

* If localhost makes a request to evil.com it'll be allowed.

Re:A proposal to restrict sites from accessing a users' loca... by broguinn on Thursday June 05, 2025 @04:28PM (#44195481)
Ahh, thanks for clarifying! It's the origin being compared, not the context - of course.