News for hackers. Stuff that matters.
Re:Firefox 111.0 enabled Origin private file system access by iddan on Wednesday March 15, 2023 @05:59AM (#35165912)
The OPFS is subject to browser quota restrictions.
Re:Firefox 111.0 enabled Origin private file system access by ur-whale on Wednesday March 15, 2023 @06:12AM (#35166004)
Which means nothing unless the defaults are restrictive.

What are the default browser quota restrictions on install?

Re:Firefox 111.0 enabled Origin private file system access by maccard on Wednesday March 15, 2023 @06:18AM (#35166044)
Re:Firefox 111.0 enabled Origin private file system access by madeofpalk on Wednesday March 15, 2023 @06:48AM (#35166246)
OPFS doesn't really change this concern that much. IndexedDB already allows for relatively arbitary blobs of data to be stored per site (subject to existing quotas)
Re:Firefox 111.0 enabled Origin private file system access by account42 on Wednesday March 15, 2023 @07:01AM (#35166349)
IndexedDB should also be disabled by default. Adding more and more storage options instead of restricting the existing ones that are already being abused is madness.
Re:Firefox 111.0 enabled Origin private file system access by sgbeal on Wednesday March 15, 2023 @07:09AM (#35166416)
> The OPFS is subject to browser quota restrictions.

FWIW, 256mb last i checked (summer 2022). Perhaps less on mobile browsers, but that's just speculation.

Re:Firefox 111.0 enabled Origin private file system access by lol768 on Wednesday March 15, 2023 @07:25AM (#35166558)
So any sufficiently motivated/funded malicious actor who can register a whole bundle of domains can use up 50% of the entire free space on my disk? Am I getting this right?

Is the only defense against this the requirement for per-origin permission to be granted?

Re:Firefox 111.0 enabled Origin private file system access by roca on Wednesday March 15, 2023 @07:40AM (#35166698)
That's been true for over a decade. Hasn't happened in the wild though AFAIK. I don't think there's an incentive for anyone to do this.