Intent to Ship: Blob URL Partitioning (Total Cookie Protection)

326 views
Skip to first unread message

Abhishek Madan

unread,
Aug 25, 2023, 11:28:26 AM8/25/23
to dev-pl...@mozilla.org
Summary

Total Cookie Protection has been enabled by default in Firefox 103. Users now have storage partitioning which protects them from third-party tracking. However, Blob URLs remain unpartitioned and hence still put our users at risk because a Blob can be used as a tracking factor.

To close this loophole, we can partition Blob URLs by using the partitioning key (top-level domain). Entailing, the blob URL will be double-keyed, so blob URLs can only be resolved if the top-level domain is the same as the top-level domain where the blob URL was created. 

Standard:

https://github.com/w3c/FileAPI/issues/153

Bug

Bug 1686111  - [meta] Blob URL partitioning

Platform coverage

All

Preference

privacy.partition.bloburl_per_partition_key

DevTools bug

N/A

Other browsers

Neither Safari or Chrome partition Blob URLs. Brave does partition Blob URLs.


Web-platform-tests

N/A




--

Abhishek Madan

Mozilla

email:ama...@mozilla.com





Mike Taylor

unread,
Aug 25, 2023, 4:07:30 PM8/25/23
to Abhishek Madan, dev-pl...@mozilla.org

Hi Abhishek,

On 8/25/23 11:28 AM, Abhishek Madan wrote:
Summary

Total Cookie Protection has been enabled by default in Firefox 103. Users now have storage partitioning which protects them from third-party tracking. However, Blob URLs remain unpartitioned and hence still put our users at risk because a Blob can be used as a tracking factor.

To close this loophole, we can partition Blob URLs by using the partitioning key (top-level domain). Entailing, the blob URL will be double-keyed, so blob URLs can only be resolved if the top-level domain is the same as the top-level domain where the blob URL was created. 

Standard:

https://github.com/w3c/FileAPI/issues/153

This is just an issue, rather than a standard. Do you intend to update the spec to match what you're shipping? (I didn't see any relevant PRs, but I might have missed one.)

best,
Mike

Abhishek Madan

unread,
Sep 11, 2023, 9:39:59 AM9/11/23
to dev-pl...@mozilla.org, mike...@chromium.org, dev-pl...@mozilla.org, Abhishek Madan
Hi Mike,

Apologies for that. The Standard that is more in line with what we are shipping is https://github.com/privacycg/storage-partitioning as we are partitioning Blob URLs by the top-level domain.

Sincerely,
Abhishek
Reply all
Reply to author
Forward
0 new messages