ContentSecurityPolicy.php

how to make persistent changes in ContentSecurityPolicy.php regarding allowedFrameDomains and allowedFrameAncestors even after an update?

If that can be part of theming or an app, this would be a way to go. But I don’t know if that is possible. Moving to development.

From an app or what? What’s the use case? If from an app, it’s easy since there is an entire API for managing it.

it’s for embeded form in a website