# Even with Firefox's total cookie protection technology, I'd like to ensure that localStorage is not detached

**URL:** <https://discourse.mozilla.org/t/even-with-firefoxs-total-cookie-protection-technology-id-like-to-ensure-that-localstorage-is-not-detached/112139>\
**Category:** Firefox Development\
**Created:** [March 14, 2023, 1:36am UTC](https://discourse.mozilla.org/t/even-with-firefoxs-total-cookie-protection-technology-id-like-to-ensure-that-localstorage-is-not-detached/112139 "2023-03-14T01:36:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![as514188](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@as514188](https://discourse.mozilla.org/u/as514188)\
**Post date:** [March 14, 2023, 1:36am UTC](https://discourse.mozilla.org/t/even-with-firefoxs-total-cookie-protection-technology-id-like-to-ensure-that-localstorage-is-not-detached/112139/1 "2023-03-14T01:36:29Z")

</div>

Synonyms:

- [total cookie protection](https://blog.mozilla.org/security/2021/02/23/total-cookie-protection/)
- dynamic state partitioning
- dynamic first party isolation
- dFPI

Site A has C iframe and Site B has C iframe.  
When data is inserted from Site A’s C iframe, there must also be data from Site B’s C iframe, but the two repositories cannot share data due to Firefox’s security policy. The recommended method in Mozilla for this issue is to use “requestStorageAccessAPI”. However, when using the method, Cookie Data is shared, but localStorage Data is not shared. I want to know a way other than “requestStorageAccessAPI”.

- Except how the user sets the config

Does anyone know about this topic?  
If you know any information, please share it with us.
