News for hackers. Stuff that matters.
Re:Google Container for Firefox – Prevent Google from tracki... by rplnt on Friday November 30, 2018 @09:34AM (#18569353)
I think, and always thought of it as intuitive with the way I use browsers, that sessions should work as a tree. So only child tabs in that tree should see the contents of parent's session. If I open a new tab, it's a new tree. Bookmarks could create permanent root node.
Re:Google Container for Firefox – Prevent Google from tracki... by unqueued on Friday November 30, 2018 @01:02PM (#18570979)
I wrote something that launches a new instance of the Firefox engine for specific profiles.

https://github.com/unqueued/foxbox

But I never got around to polishing it and making it more accessible.

The thing that really prompted me was peeking at what financial websites were doing, trying to connect to data mining sites like ru4.com and refusing to load if they couldn't connect to facebook.com and twitter.com.

My script also fixes paths in profile folders so that the roboforms extension will still work, because it is the only password manager that I have found that is able to completely automate my logins, despite the best efforts of UX designers.

I also couldn't order food from seamless.com unless I allowed a script on their site to connect to facebook.com. So, now seamless.com gets its own empty sandbox.

And because you're using your filesystem to store a browser profile, you can have specific extensions or settings for each profile.

So whenever I want to do financial stuff, it just connects over an autossh tunnel to my home, so it will never trigger any any stupid re-authentications when I'm connecting from a cellphone or work.

Re:Google Container for Firefox – Prevent Google from tracki... by Disp4tch on Friday November 30, 2018 @10:33AM (#18569779)
The Tree Style Tabs add-on supports this behavior with Firefox's containers, it is awesome.
Re:Google Container for Firefox – Prevent Google from tracki... by dave_pascua on Sunday December 02, 2018 @11:47PM (#18586385)
I found "Tree Style Tab", which doesn't mention anything about containers.

You have a link and/or author for the add-on to which you're referring?

Re:Google Container for Firefox – Prevent Google from tracki... by rplnt on Saturday December 01, 2018 @05:53AM (#18576243)
That's awesome, thanks. I've tried the Tree Style Tabs in the past, it made a lot of sense to me, but unfortunately I had other issues with FF back then. Now with the containers support there's more incentive to try it again.
Re:Google Container for Firefox – Prevent Google from tracki... by bpye on Friday November 30, 2018 @11:08AM (#18570047)
Damn I'm gonna have to give that a go.
Re:Google Container for Firefox – Prevent Google from tracki... by derefr on Friday November 30, 2018 @02:15PM (#18571750)
The problem with this (and the reason browsers don't already do things this way) is that it breaks Single Sign-On flows like OAuth.

When your browser redirects a tab from example.com to accounts.google.com to do an OAuth login, the Google OAuth login cookie that gets set by accounts.google.com under that tab, needs to also be visible later on to any other tab whose "root node" navigates to accounts.google.com.

Maybe you can make an exception for just SSO providers—but won't other nefarious uses (e.g. analytics providers) then just pretend to be SSO flows?

And maybe you can just whitelist the existing SSO providers—but that's an instant oligopoly.

Re:Google Container for Firefox – Prevent Google from tracki... by esotericn on Friday November 30, 2018 @04:27PM (#18572788)
That's not a bug, that's the point.

"Single sign on" means "contact centralised provider with identifying information plus site browsed".

The explicit desire here is to stop that tracking.

Tracking _is_ single sign on with the "sign on" being invisible to the user.

Re:Google Container for Firefox – Prevent Google from tracki... by derefr on Friday November 30, 2018 @04:41PM (#18572928)
You're thinking of consumer SSO. There's also enterprise SSO. Per-tab cookie isolation would break pretty much every bigcorp's Intranet, because they're composed of a bunch of different services that all rely on a centralized IAM provider.

(Mind you, Google themselves are working to move enterprises away from this model, with their https://cloud.google.com/beyondcorp/ effort avoiding the "Intranet as a bunch of services on separate internal domains" model, in favor of a "Intranet as a bunch of services all living under smart proxies that make them look like one domain and handle IAM for you" model. But enterprises would need to move first, before complete tab isolation could be workable for them.)

There's also even-more-enterprise SSO, i.e. SAML and its "using your bank as an SSO provider to prove your identity to government services" use-cases. This actually isn't SSO at all—there are more identity providers than there are services. The point here is to federate proofs-of-identity by allowing many different (whitelisted) agencies to vouch for your identity, so that the government doesn't need to issue you some centralized proof-of-identity. This would also break under complete tab isolation, and I don't think there's any good replacement in this case.

Re:Google Container for Firefox – Prevent Google from tracki... by Groxx on Saturday December 01, 2018 @12:42AM (#18575425)
this is an ideal example of "you know you need this, whitelist it" vs "this is always allowed". sites will definitely start messaging "whitelist or follow link from X" if default-block becomes popular, so I don't really think it'll break anything, tho it might be a bit more annoying.

(personally I get a small hit of joy every time I hit a site that is caught and blocked trying to do things it shouldn't, and vow never to return. it's better than it happening without knowing.)

Re:Google Container for Firefox – Prevent Google from tracki... by esotericn on Friday November 30, 2018 @04:42PM (#18572943)
Not at all, it's the exact same thing in that case as well, it's just that you _want_ the tracking.

If you don't want every tab to be connected, every tab isn't connected.

Re:Google Container for Firefox – Prevent Google from tracki... by derefr on Friday November 30, 2018 @04:48PM (#18572990)
How do you suggest enabling these use-cases for users that want them, on top of a browser that isolates tabs by default, without requiring any technical aptitude of the user to understand what a "cookie" is (which would normally suggest "have a UX flow for it") but while preventing arbitrary websites from triggering such a flow and thereby tricking these non-technical users into enabling the site to track them?

It's not like the problem is impossible; nobody is saying that. My point is that the solution is non-obvious to the point that nobody has solved it yet, despite likely man-years being put into trying. Firefox Containers are the best UX we've come up with so far to kinda-sorta solve the problem. Do you have any better idea?

Re:Google Container for Firefox – Prevent Google from tracki... by Izkata on Friday November 30, 2018 @05:21PM (#18573272)
Easy: take the original comment literally and make the interface like Tree Style Tabs [0].

[0] https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta...

Re:Google Container for Firefox – Prevent Google from tracki... by deno on Friday November 30, 2018 @02:46PM (#18572018)
Let’s break it and have the browser handle auth flow itself.
Re:Google Container for Firefox – Prevent Google from tracki... by jovial_cavalier on Friday November 30, 2018 @03:52PM (#18572521)
But then you have state shared between tabs and that breaks OPs whole idea, because it kills the sandboxing.
Re:Google Container for Firefox – Prevent Google from tracki... by deno on Saturday December 01, 2018 @09:14AM (#18576831)
See BrowserID. It’s based on cryptographic proof and would work with any backend, including offline.
Re:Google Container for Firefox – Prevent Google from tracki... by khc on Friday November 30, 2018 @04:45PM (#18572968)
What about have the consumers sign on to the SSO provider at the root node?
Re:Google Container for Firefox – Prevent Google from tracki... by brianbreslin on Friday November 30, 2018 @05:49PM (#18573461)
I had the same issue with the Facebook container tab on Firefox as well.
Re:Google Container for Firefox – Prevent Google from tracki... by pkamb on Friday November 30, 2018 @04:47PM (#18572985)
A new tab should be able to go "back" to its parent. Kind of weird that no browser has implemented this yet.
Re:Google Container for Firefox – Prevent Google from tracki... by krishicks on Friday November 30, 2018 @04:59PM (#18573087)
If I understand you correctly, Safari does this on both iOS and macOS.

If you click a link that opens a new tab and swipe back from that new tab, Safari closes the new tab and shows you the previous tab.

I’m not exactly sure of the behavior when you open a new tab, then go to another tab, then back to the tab that was opened and then swipe back, though.

Re:Google Container for Firefox – Prevent Google from tracki... by pkamb on Friday November 30, 2018 @06:29PM (#18573736)
Safari for iOS has kind of a "grace period" where the back gestures do work from the new tab. But I think this is more to aid the confusion for people who don't understand that a new tab has even been created.

If you switch tabs, or close the app, or do anything other than somewhat immediately go back, that back history is lost. And if you do use the shortcut to go back, the new tab is destroyed. There's no ability to open a bunch of tabs and then in each of them independently navigate back to the parent.

Re:Google Container for Firefox – Prevent Google from tracki... by moosingin3space on Friday November 30, 2018 @04:58PM (#18573086)
There is (was?) a prototype built on top of Servo and browser.html for this: https://medium.freecodecamp.org/lossless-web-navigation-with...

Not sure if it has any traction anymore.

Re:Google Container for Firefox – Prevent Google from tracki... by swift532 on Friday November 30, 2018 @10:38AM (#18569814)
Wouldn't you then have to log in twice to the same site if you have it opened in multiple tabs?
Re:Google Container for Firefox – Prevent Google from tracki... by mcny on Friday November 30, 2018 @10:39AM (#18569832)
Sounds like a feature to me. I'd love it if things worked that way.
Re:Google Container for Firefox – Prevent Google from tracki... by folkrav on Friday November 30, 2018 @11:06AM (#18570029)
People who are aware of how pervasive tracking is wouldn't mind much indeed. The average user would be _infuriated_ of having to login every time they open a tab.
Re:Google Container for Firefox – Prevent Google from tracki... by Deinos on Friday November 30, 2018 @11:18AM (#18570140)
That's where LastPass, et. al. come to the rescue. Minimizes the annoyance of multiple logins, while increasing overall security if they didn't already use a password manager.
Re:Google Container for Firefox – Prevent Google from tracki... by diminoten on Friday November 30, 2018 @12:49PM (#18570846)
Minimizes, but does not remove.

I'll stick to Chrome when I want my browser to not lose my sessions constantly.

Re:Google Container for Firefox – Prevent Google from tracki... by pessimizer on Friday November 30, 2018 @03:46PM (#18572480)
There's only so long that all those angry, multi-tabbing, somehow-simultaneously-both-ignorant-and-power users will be infuriated at every single website before they forget it ever wasn't like that.
Re:Google Container for Firefox – Prevent Google from tracki... by gowld on Friday November 30, 2018 @01:05PM (#18571017)
Even if credentials were stored in browser (ideally has a revocable token, not a password) and login was one-click?
Re:Google Container for Firefox – Prevent Google from tracki... by philipov on Friday November 30, 2018 @11:14AM (#18570094)
Average users know how to use multiple tabs?
Re:Google Container for Firefox – Prevent Google from tracki... by teovoinea on Friday November 30, 2018 @11:45AM (#18570338)
You can choose to “always open this site in this container” and have the cookie persist.
Re:Google Container for Firefox – Prevent Google from tracki... by TheRealPomax on Friday November 30, 2018 @12:04PM (#18570478)
you can "reopen this tab in container: ..." by right clicking on a tab, so yes, but going "oh I needed google creds" is two clicks.
Re:Google Container for Firefox – Prevent Google from tracki... by 7h3kk1d on Friday November 30, 2018 @11:05AM (#18570026)
Possibly add a merge trees feature?
Re:Google Container for Firefox – Prevent Google from tracki... by 1024core on Friday November 30, 2018 @12:11PM (#18570539)
A long time ago, there used to be a browser called "Athena", which did exactly this.
Re:Google Container for Firefox – Prevent Google from tracki... by jammygit on Friday November 30, 2018 @03:30PM (#18572349)
From a UX perspective, that sounds confusing to me. How do you know which subtree from 2 weeks ago each tab is from? It might be an alright tradeoff for 'power' users though