du --max-depth 0 -h -c .cache .config .local
767M .cache
278M .config
2.2M .local
1.1G total
It's a bit of space on this CachyOS laptop but it's doable.In the end I'd guess you can also use some aspects of persistent storage to achieve similar results, even if the rest is actually tmpfs/RAM.
https://news.ycombinator.com/item?id=48309492
They basically trained a neural network on the data they got from the SSD - and recorded data with other websites open in different tabs or even different browsers.
They could then guess/detect other open sites.
I presume, if they'd trained/recorded - they might detect other software as well.
But right now, they demonstrated (on MacOS) that if you open the exploit in a browser - they can look at SSD activity and tell you have website x, y and z open.
Might let you target users of a certain bank, child porn, regular porn, shopping sites... Mostly imagination that sets the limit.
To that end an option to disable storage access by type would be nice to have. All I see in firefox settings is the ability to block all storage including cookies, and the ability to block persistent storage when the site requests it. It's not clear to me how the OPFS system in TFA relates to either of these, but I'd guess that it's a separate system. There's a bunch of storage quotas in about:config, but nothing obviously related to OPFS (that I can see).
Given the choice I would be happy to allow traditional cookie storage and block everything else with any exceptions I need (none that I can think of) on a per-site basis. If this can be achieved via about:config, I'm all ears!
While looking at my storage data, I see youtube has 174(!) cookies and 57M data stored on my machine. Sigh.
Absolutely. Things like IndexedDB get fsynced super frequently. There's no way to tell Chrome that some web apps do not need to make it do the physical disk this often.
This is interesting work... thanks for sharing.