10 ms·
First-party isolation in Firefox: what breaks if you enable it?
- andrewaylett 8y agoI've been running at home and at work with first-party isolation enabled for a few months now. Google login works fine for me, as does login with Google. It's broken a few internal tools, especially when people do things like hotlink across internal systems (which would have been broken at least some of the time for most people anyway, until they realise that to view _this_ page properly they need to log in over _there_). Also breaks PlayStation Network. All in all, insufficiently broken for me to be bothered enough to turn it back off :). I do wish there was a "view from alternate origin" feature though, to let me load a site as if it were loaded in an iFrame -- that would let me work around the issues with my internal sites.
- some_account 8y agoThe best strategy is to not use Google however. It's not like you need to in 2018 anymore. There are better services for almost anything out there, although you may have to pay a few dollars for some of them. Well worth it since they are superior to Google. For email, Fastmail is king.
- d2wa 8y agoI use “alternative search engines” daily. However, I have to crawl back to Google if I want to find things that were published in the last two weeks. Even Microsoft Bing can’t keep up with all the content that appears on the web every day.
- erinnh 8y agoIf its just search engines, you dont exactly have to be logged in to use Google. Also, there are Google search-proxies like startpage.com
- d2wa 8y agoStartpage and the like don’t get everything you find on Google. E.g. you can find today’s articles from even the most obscure blogs on Google. Searching for the same article won’t return that result on Startpage until at least a few weeks from now. I’m not sure if this is Google holding back on the good stuff, or if it’s Startpage not being willing to pay a higher fee.
- stephengillie 8y agohttp://duckduckgoose.com/ http://duckduckgoose.com/
- known 8y agosite:news.ycombinator.com About 91,000 results (0.38 seconds) site:news.ycombinator.com in google.com About 11,90,000 results (0.25 seconds)
- clear_dg 8y agoAnd how many of the initial results in google will be filtered out (e.g takedown notices) when you hit the very last page? I'm doubtful about the usefulness of the results count in comparisons like this.
- wjkohnen 8y agoHTTP-only? Nope, nope, nope.
- olliej 8y agoRight? I tried so hard to use duck duck go and bing, but at some point DDG seemed to start producing very bing-like results, and bing is just not as good as google for technical searches - apparently by design, they believe their results are better for general users. Kind of frustrating :-/
- d2wa 8y agoDDG is powered by Bing and Yandex. DDG doesn't have their own index.
- kevsim 8y agoFor many people (like me) this is not advice that can followed since many many companies use G Suite.
- some_account 8y agoUse Google in a temporary container (Firefox plugin) and isolate Google completely if you need to use them. Also you can use startpage.com for searches, it uses Google behind the scenes. Looks nicer too. :)
- andrewaylett 8y agoI run my own mailserver and use DDG for all my searching. And use GMail as an MUA and am the GSuite administrator for the school I support. Using Google is a trade-off, and there are definitely services they provide where the trade-off is worth it for me. Your mileage appears to vary. First-party isolation definitely kicks the needle across towards Google only having data I'm happy for them to have.
- d2wa 8y agoI’d appreciate a ‘New Temporary Non-Isolated Window’ for use with websites that don’t work with FPI.
- jhanschoo 8y agoThis looks perfect for you: https://addons.mozilla.org/en-US/firefox/addon/temporary-containers/ https://addons.mozilla.org/en-US/firefox/addon/temporary-con...
- d2wa 8y agoIntroducing another container doesn’t address compatibility problems for websites that absolutely must communicate cross-origin. You can’t disable FPI in just one window, tab, or container.
- wodenokoto 8y ago> I’m not sure whether that is because Mozilla consider it unsafe, unpractical, or don’t want to commit to maintain the feature in future releases. I imagine it was implemented for the container tabs.
- clumsysmurf 8y agoThe main problem I see with account containers — still — is that you can't say "this container can only have certain websites in it". For example, if you put reddit in a "social" container, but click on links to the stories, then you have all of your cookies and stuff polluting the social container.
- some_account 8y agoThe Temporary Containers plugin is very nice. It can be configured to keep all tabs completely isolated, as if they were their own browser. And you can set it to isolate subdomains or not, which is very useful when you need multiple tabs and want the same session in them.
- mehrdadn 8y agoI feel like the cause is most likely that there are just too many darn websites for a user to be willing to specify them all. Solving this would seem to require some global database of "all sites run by company X" that undergoes constant maintenance.
- 8y ago
- franciscop 8y agoThis is great news, especially in stark constrast to other articles in the front page of HN right now.
- strictfp 8y agoI guess trackers will just ask websites to route analytics traffic through their own infrastructure. Would it be enough for example.com to setup a dns alias pointing tracking.example.com to tracking.com?
- d2wa 8y agoThis is a possible work-around, but it adds a lot of complexity to get HTTPS and stuff worked-around. Either the third-party must handle HTTPS for their partners who setup CNAMEs, or the first-party must handle HTTPS and proxy the requests back to the third-party. It’s doable but it will significantly slow things down to the point where even shitty websites would consider it unacceptable.
- icebraining 8y agoThe third-party can handle HTTPS just for that particular subdomain, using a separate certificate.
- icebraining 8y agoThat breaks cross-domain tracking, though; before, cookies set on analytics.com (pulled on SiteA) would be sent back to them when pulled from SiteB. If you now use different domains on each site, that doesn't work. (To be clear, I think this is a good thing)
- pests 8y ago
- Havoc 8y agoInteresting. Was planning to migrate over to FF anyway
- jstanley 8y agoI like most of what you said and agree with the cause. But why does your own blog load up with an apparently-unironic call to be whitelisted in Adblock? If you don't want to be tracked by other people's ads, why are you helping track people with ads on your own site? The page also loads Google Analytics.
- d2wa 8y agoEffort have been made at keeping the impact of ads and tracking low: https://www.ctrl.blog/about/privacy-policy#privacy-policy-ads https://www.ctrl.blog/about/privacy-policy#privacy-policy-ad... The ads help fund writing and research into technologies that restrict ads without blocking them outright. You choosing to block ads is your choice, but it takes away incentives for researching and writing about the topics you care to read about. You can sign-up for Flattr if you prefer not to see ads and still support writers. https://flattr.com/contributors https://flattr.com/contributors
- Klover 8y agoThat’s genius! Using trackers to research not using trackers.. so why don’t you use more privacy oriented analytics instead of google analytics? Matomo (formerly known as Piwik) seems like a better choice, unless that option is exactly what you’re researching. I don’t mean to be so snarky. Your comment seems so hypocritical to me, though.
- d2wa 8y agoI’ve been contributing to the privacy-first design of Fathom. https://usefathom.com/ https://usefathom.com/ I don’t use if myself as its not all that useful at this time. There is actually a second tracking system in place that records things like the number of people who block ads and analytics. Google Analytics (GA) on the site is configured to delete data as early as possible and it’s configured to not store IPs or link activities. However, its the only way to get any page-level reporting (like which pages are profitable) out of AdSense.
- 8y ago
- psergeant 8y agoAnother plan is to use self-destructing cookies. You can whitelist some domains then, and break much less
- d2wa 8y agoYou can still be tracked through cache tokens, DNS cache-probing, and methods other than cookies. FPI is so much more than just keeping cookies under control.
- alexey454545 8y agoHello everyone, I’m the most happiest person on the face of the earth, after 6 months of sadness and sorrow without being with the one i love, i tried all my possible best to make sure i make my lover happy but it never seems to work out well it was like am doing everything in vain but all thanks goes to Dr Asaka for coming to change all my worries and sadness to happiness. i knew the great man when i read some wonderful testimony about how he has helped lots of people on their relationship problems. i was reading a magazine when i saw great testimonies, as well my predicament then i decided not to waste time because i have missed my lover so much i decided to contact him and share all my problem with him which he told me not to worry that he is assuring me that within 48 hours everything would be sorted out i believed Dr Asaka so much because of how he has been helping many people, my boyfriend who left me for good suddenly replied my text and returned my calls and asked me to please forgive him i was so happy am so grateful to Dr Asaka for what he has done for me and I promise to testify his goodness all through my life. If you are there passing through the same problem or any kinds of problem contact this great man on his email address: drasakaspelltemple@gmail.com
- erinnh 8y agoIve been using it since Firefox 58, where they fixed a bug that broke cookie-whitelisting. Ive been pretty happy. The only website where it really is a problem is Playstation Network, but I have an addon that disables FPI when I really need to temporarily.
- fredsir 8y agoHow can you tell it works? I've been trying now 5 times to enable it, and testing if it works. If I understand correctly, if I log in to gmail.com (mail.google.com), google.com should be logged in, but google.dk and youtube.com shouldn't since First-Party Isolation should be isolating them, but no matter how hard I try, it doesn't work. If I log in to mail.google.com, I get logged into youtube.com, google.com and google.dk. Am I misunderstanding how it is supposed to work? I've tried completely uninstalling firefox 5 times now - including wiping the profile from my machine - but the same thing keeps happening.
- flotzam 8y agoCooperating websites can subvert first-party isolation by redirecting the top level page through multiple first-party domains (with an ID in the URL). And Google does exactly that when you login. How to properly prevent it is still an open question: https://bugzilla.mozilla.org/show_bug.cgi?id=1319839 https://bugzilla.mozilla.org/show_bug.cgi?id=1319839
- deleted 8y ago[deleted]
- sqldba 8y agoplease s/quite/quiet
- fredsir 8y agoSo after enabling it, is there some easy way to see if it actually works?
- user812 8y agoGo into your FF profile, open SiteSecurityServiceState.txt - it will show every HSTS entry separated into firstparty domains. Similar, in the storage folder in your FF profile you can see that every firstparty website has it's own folder and third party cookies are places inside that folder and can not share data with other folders.
- bugmen0t 8y agoNot super reliably. But try this one: https://github.com/mozfreddyb/test-firstpartyisolation https://github.com/mozfreddyb/test-firstpartyisolation
- tomrittervg 8y agoI won't copy paste my reply from above, but rather link it: https://news.ycombinator.com/item?id=17949613 https://news.ycombinator.com/item?id=17949613
- jedberg 8y agoI've been doing this the hard way for years -- running four browsers at all times, each for different things. Chrome is logged into Google, Firefox is logged into Facebook, Safari is for HN/Reddit, and Chrome canary is for other random sites that I don't want to have already logged in, like when I use the AWS console. And then I also use incognito windows for going to forums and deal sites and all those sites known for having 25 tracking bugs. Overall it's not too bad, but there are definitely annoyances around not being logged into Google everywhere for example.
- Vinnl 8y agoIt's less drastic than using different browsers, but far easier to use, so depending on how paranoid you are you might be interested in this: https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/ https://addons.mozilla.org/en-US/firefox/addon/multi-account...
- wfh 8y agohave you considered using multiple profiles/containers in one browser e.g. Firefox supports containers, and Chrome supports profiles?
- seba_dos1 8y agoFirefox actually supports both. It already supported profiles way before Chrome existed, and recently got support of containers.
- CogitoCogito 8y agoI do something similar. For example, for Facebook I create a profile (using Firefox's profile manager which I access as `$ firefox --ProfileManager` from the command line, but I'm sure there's a simpler way) and I just call it "Facebook". Then I have a script called e.g. `firefox_facebook` like this: #!/bin/bash nohup /usr/lib/firefox-esr/firefox-esr \ --no-remote \ -P Facebook \ 1>/dev/null 2>&1 \ & Then I put a file like this in `/home/user/.local/share/applications/facebook.desktop`: [Desktop Entry] Type=Application Name=Facebook Icon=/home/user/.local/share/applications/facebook.ico Exec=/home/user/bin/facebook_facebook I also even have an icon in there. The result is that I have a single Firefox profile devoted to facebook and it comes with an icon in my start menu with a facebook image (it's just one of their blue F facebook logos) which is totally isolated from everything else. I also have a similar version which just copies an empty profile to a random folder in /tmp and then uses that freshly separated from everything else. This seems like a complicated process, but it's trivial to add more in later and I can basically have as many as I want. I did it as a bit of an experiment to see if something like this feasible (not technically, but more socially). I.e. will I get lazy and stop using it soon. So far it's pretty easy and is a nice way to take webapps and basically devote a firefox profile to it in a way that makes it seem almost like an electron app, but without all the extra useless stuff. Tldr: I do something similar except I only use Firefox and it's profiles. edit: Also should say I run debian with cinammon desktop so this probably won't work for most people here, but something similar is probably possible on every system.
- olliej 8y agoThe biggest problem is SSO and similar - especially across organizations that have multiple domains (think the various google properties for instance). Part of how they work is the login process cycling through multiple domains when you click the login button. Dealing with that, and making everything work without also making the same technique work for tracking is ... challenging.
- bugmen0t 8y agoevery SSO is different. But mine all worked.
- pard68 8y agoI use it. Over the last year or two this feature, in addition to a renewed effort towards privacy on my part has led me to simple not use websites which will not work with my privacy settings. My only real hold outs in the "decidedly not private wise" camp are my gmail account used for various emails I still wish to receive but don't wish to give my email too and my old nick (this one here).
- JBiserkov 8y agoHow is this different than using uMatrix / uBlock origin?
- d2wa 8y agohttps://www.reddit.com/r/javascript/comments/9edeqe/firstparty_isolation_in_firefox_and_what_breaks/e5q0475/ https://www.reddit.com/r/javascript/comments/9edeqe/firstpar...
- bugmen0t 8y agoTLDR: in my experience: very little.
- eslaught 8y agoIs there a test I can use to confirm that it's working? I've set privacy.firstparty.isolate true and privacy.firstparty.isolate.restrict_opener_access true and when I log in to Github followed by Travis, Travis was able to log in without prompting for a password.... Firefox 62 macOS. Edit: I did lose all my cookies on restart, so I do believe the option is at least enabled. Still would like to test that it's actually doing something.
- floatingatoll 8y agoDid you restart between changing the settings and doing your tests? If not, they’re invalid, and you should repeat them.
- Aeolun 8y agoIf Travis redirects to github, I assume github would get access to it’s own cookies again, and then be able to perform oauth, after which it redirects to Travis again with a token in the URL, no cookies or local storage needed as far as I’m aware.
- tomrittervg 8y agoGo to https://ritter.vg/misc/ff/fpi.html https://ritter.vg/misc/ff/fpi.html On first load it should say "There was nothing in local storage." Now go to https://rittervg.com/misc/ff/fpi.html https://rittervg.com/misc/ff/fpi.html On first load it should say the same. If it says the same timestamp that was stored on the first page - it's not working. Source: I'm a Mozilla Developer who is one of the primary devs/supporters of First Party Isolation.
- fredsir 8y agoSeems to be working, thanks! (had to disable blocking of third-party trackers for it to function, but after that, it works as promised, and I have re-enabled blocking of third-party trackers)
- user812 8y agoWhat if the box is empty? JS is allowed. (Edit: I guess the culprit is "third party cookies blocked by default") So wouldn't a better test be about a third party that was used in a first party context before? Since FPI goes beyond third party cookies.
- Animats 8y agoThat's a great feature. I just turned it on and logged into everything I care about, and it all worked. I already had so much ad and tracker blocking that it didn't create any new problems.
- amarand 8y agoSecurity is always a blessing (it keeps your stuff secure) and a curse - people are lazy and don't want to use it because it generally causes pain points. Remembering to bring your keys, remembering increasingly-complex passwords and PINs, remembering to lock your doors, click this security warning, check that checkmark box. Security is a pain. But it's also a necessity. I like the idea of more isolated sandboxes, reducing third-party tracking cookies, third-party content. I go to my bank's web-site, why do I want to grab information from outside of my bank? Anyway...it's good to see Firefox is trying something new. It'll be interesting to see how well it works in the wild.
- t0astbread 8y agoWhat about just using uMatrix (or similar extensions)? You have more precise control over what gets allowed and what not and you can just temporarily or partially disable protection for logins/payments etc.
- d2wa 8y agoIt's not the same thing at all. See this discussion to learn the differences of uMatrix and FPI. https://www.reddit.com/r/javascript/comments/9edeqe/firstparty_isolation_in_firefox_and_what_breaks/e5q0475/ https://www.reddit.com/r/javascript/comments/9edeqe/firstpar...