On May 1, 2014 12:58 PM, "'Dean Jackson' via Security-dev" <securi...@chromium.org> wrote:
>
> Hi, Chromium developers and security folks! Let me know if there's a better list for this, as this was a first-guess of where something like this might go to.
>
>
> Having users open a single web application across multiple tabs is pretty common. That's also extra work for developers; you currently need to inject a url parameter to track this (which makes for uglier URLs and worse user experience).
Your only downside listed is ugly URLs. That's an aesthetic choice and a subjective one. It would be better if you could actually elaborate your downsides, if we are to look at other solutions.
For example, consider a UA that doesn't show the user the URL, but instead shows the origin. It would seem your problem has now been solved - but I suspect you would disagree.
>
> We already have cookies, which securely identify a browser across requests. Given that, it'd be nice to have a similar method to identify a *tab* across requests. Would it be reasonable to suggest a new type of cookie here, where a session cookie could be locked to a specific tab?
No.
1) It would break plenty of applications that don't handle extra directives - for which there are many
2) tab is a UA specific concept that exists only in the abstract. Consider mobile devices. Are the distinct pages 'tabs'? Or are they 'windows'? What about other concepts of UIs?
3) How do such concepts apply to all the other non-UI HTTP clients? Command-line tools, for example.
Most importantly, one of taste, intent, and design - Web Applications 'should' be agnostic to the user's chosen means of browsing. This is a strength of the Web, and why it works so well on so many devices and in so many concepts. A well-written web application should be agnostic to these things - or it risks alienating users with valid uses and devices.
On May 1, 2014 12:58 PM, "'Dean Jackson' via Security-dev" <securi...@chromium.org> wrote:
>
> Hi, Chromium developers and security folks! Let me know if there's a better list for this, as this was a first-guess of where something like this might go to.
>
>
> Having users open a single web application across multiple tabs is pretty common. That's also extra work for developers; you currently need to inject a url parameter to track this (which makes for uglier URLs and worse user experience).Your only downside listed is ugly URLs. That's an aesthetic choice and a subjective one. It would be better if you could actually elaborate your downsides, if we are to look at other solutions.
For example, consider a UA that doesn't show the user the URL, but instead shows the origin. It would seem your problem has now been solved - but I suspect you would disagree.
> We already have cookies, which securely identify a browser across requests. Given that, it'd be nice to have a similar method to identify a *tab* across requests. Would it be reasonable to suggest a new type of cookie here, where a session cookie could be locked to a specific tab?
No.
1) It would break plenty of applications that don't handle extra directives - for which there are many
2) tab is a UA specific concept that exists only in the abstract. Consider mobile devices. Are the distinct pages 'tabs'? Or are they 'windows'? What about other concepts of UIs?
3) How do such concepts apply to all the other non-UI HTTP clients? Command-line tools, for example.
Most importantly, one of taste, intent, and design - Web Applications 'should' be agnostic to the user's chosen means of browsing. This is a strength of the Web, and why it works so well on so many devices and in so many concepts. A well-written web application should be agnostic to these things - or it risks alienating users with valid uses and devices.
What happens when someone cut and pastes the URL, or shares it? How does it get appended to new links on the page? And what happens if someone right clicks a link, copies it, and shares the copy?
Or if they bookmark the link while the page wasn't quite loaded yet? (Or come back to the bookmarked page?)
That last one actually breaks the cookie scheme as well; if I'm browsing Facebook, then click a bookmark that was also to Facebook, that's definitely a (so far) uncovered case.
On Thu, May 1, 2014 at 1:27 PM, Ryan Sleevi <rsl...@chromium.org> wrote:On May 1, 2014 12:58 PM, "'Dean Jackson' via Security-dev" <securi...@chromium.org> wrote:
>
> Hi, Chromium developers and security folks! Let me know if there's a better list for this, as this was a first-guess of where something like this might go to.
>
>
> Having users open a single web application across multiple tabs is pretty common. That's also extra work for developers; you currently need to inject a url parameter to track this (which makes for uglier URLs and worse user experience).Your only downside listed is ugly URLs. That's an aesthetic choice and a subjective one. It would be better if you could actually elaborate your downsides, if we are to look at other solutions.
The parallel case are cookies, which by the same argument are a subjective, aesthetic choice. We used to track user sessions by tokens in the URL, and at some point, decided that it was worth the aesthetic choice for session cookies.For example, consider a UA that doesn't show the user the URL, but instead shows the origin. It would seem your problem has now been solved - but I suspect you would disagree.
Can you elaborate here?> We already have cookies, which securely identify a browser across requests. Given that, it'd be nice to have a similar method to identify a *tab* across requests. Would it be reasonable to suggest a new type of cookie here, where a session cookie could be locked to a specific tab?
No.
1) It would break plenty of applications that don't handle extra directives - for which there are many
It'd be possible for servers to detect those applications from the User Agent header, and send accordingly.Alternatively, there could be a second header, specifying that the next-header setting a cookie is to be set with a tab-level scope; legacy UA would ignore the unknown header, and treat it as a normal cookie.2) tab is a UA specific concept that exists only in the abstract. Consider mobile devices. Are the distinct pages 'tabs'? Or are they 'windows'? What about other concepts of UIs?
s/tab/one viewport/. If a user can use the application in two separate, completely parallel windows/browsers/tabs/viewports/etc, that would count as a 'tab' for what I'm suggesting.