Re:A practical proposal for migrating to safe long sessions ...
by sp332 on Thursday July 21, 2016 @12:05PM
(#12137748)
It's just a cookie. It works like every other cookie.
[ Parent
| on HN ]
Re:A practical proposal for migrating to safe long sessions ...
by projectramo on Thursday July 21, 2016 @12:07PM
(#12137770)
Yeah, but I mean before they implement this scheme, I hope they modify the browser (or someone comes up with one), so that you can pick which group of cookies are accessible within different tabs.
With apps, I know that this app doesn't know my identity from that app unless I explicitly give it permissions.
Re:A practical proposal for migrating to safe long sessions ...
by sp332 on Thursday July 21, 2016 @12:23PM
(#12137891)
Firefox is starting a project on this, it's still in research stages though. https://blog.mozilla.org/tanvi/2016/06/16/contextual-identit... In the meantime, you can use different user profiles in Chrome or Firefox, but they work per-window not per-tab.
Re:A practical proposal for migrating to safe long sessions ...
by projectramo on Thursday July 21, 2016 @12:43PM
(#12138076)
Great news. Thanks.
Didn't realize that Chrome and Firefox do that on a per-window basis.
I browse everything in incognito mode.
Re:A practical proposal for migrating to safe long sessions ...
by jerf on Thursday July 21, 2016 @12:21PM
(#12137868)
Firefox is working on it, you can try it in the nightlies, at least as of this post: https://blog.mozilla.org/tanvi/2016/06/16/contextual-identit...
Re:A practical proposal for migrating to safe long sessions ...
by projectramo on Thursday July 21, 2016 @12:43PM
(#12138080)
thanks.
Re:A practical proposal for migrating to safe long sessions ...
by merb on Thursday July 21, 2016 @12:22PM
(#12137876)
actually a cookie is still only accessible if its on the same origin or on a subdomain of the origin.
Re:A practical proposal for migrating to safe long sessions ...
by projectramo on Thursday July 21, 2016 @12:42PM
(#12138071)
I did not realize that. If that is so, why is Firefox working on the tab-cookie isolation (see other answers).
Re:A practical proposal for migrating to safe long sessions ...
by sp332 on Thursday July 21, 2016 @12:50PM
(#12138149)
This is mentioned in that blog post, but data is separated by a tuple of: (scheme e.g. HTTP or HTTPS, domain, port). Any page from one such set cannot access cookies, local storage, indexeddb, or cache from a page with a different set. The new feature simply adds one more attribute, so even if pages share scheme, domain, and port, they will not be able to read data from a site with a different userContextId.
Re:A practical proposal for migrating to safe long sessions ...
by merb on Thursday July 21, 2016 @01:02PM
(#12138272)
thats more to seperate work and private data.
I.e. at the moment you can't login to Office 365 twice. With a tab isolation level it would work. But actually its more like a container which you can assign to multiple tabs.
you could start a tab with the container private or with the container xyz