You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this proposal, the port is (still) not taken into account.
In particular, this claim is somewhat wrong (emphasis mine):
cookies are given an internal scheme component […]
Cookies will be accessible only to the scheme which set them, matching in this respect the scope of other storage mechanisms available on the web.
Other storage mechanisms (eg. localStorage) are actually origin-bound and thus take the port into account.
For http: localhost applications, the ability to scope the cookies per origin might be important. Without this, the cookies of a http://127.0.0.1:4567 application can be exfiltrated by other local users by:
spawning another localhost HTTP service such as http://127.0.0.1:4568;
triggering a request to this page from the user.
Would it make sense to take the port into account as well? If this is not the case, this corner-case should probably be explained in the FAQ.
The text was updated successfully, but these errors were encountered:
In this proposal, the port is (still) not taken into account.
In particular, this claim is somewhat wrong (emphasis mine):
Other storage mechanisms (eg.
localStorage
) are actually origin-bound and thus take the port into account.For
http:
localhost applications, the ability to scope the cookies per origin might be important. Without this, the cookies of ahttp://127.0.0.1:4567
application can be exfiltrated by other local users by:http://127.0.0.1:4568
;Would it make sense to take the port into account as well? If this is not the case, this corner-case should probably be explained in the FAQ.
The text was updated successfully, but these errors were encountered: