You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
By specifying the "sandbox" attribute on an iframe, we can control the privileges of embedded content, for example, to load it in a low-privilege environment to mitigate the risks of potential attacks.
Since the custom element encloses the iframe, we cannot set the "sandbox" attribute. The platform should provide API to set it accordingly.
Describe the solution you'd like
sandbox attribute on sci-router-outlet to specify the privileges of embedded content
sandbox property on microfrontend capability to specify the privileges of the microfrontend; if specified, the platform applies it to the iframe into which the microfrontend is loaded during navigation
consider adding a boolean property to MicrofrontendPlatformConfig to enforce setting a sandbox policy
danielwiehl
changed the title
Enable configuration of restrictions for content loaded into sci-router-outlet (sandbox)
Add support for sandbox attribute on router outlet to restrict privileges of embedded content
Dec 23, 2022
Is your feature request related to a problem? Please describe.
By specifying the "sandbox" attribute on an iframe, we can control the privileges of embedded content, for example, to load it in a low-privilege environment to mitigate the risks of potential attacks.
Since the custom element encloses the iframe, we cannot set the "sandbox" attribute. The platform should provide API to set it accordingly.
Describe the solution you'd like
sandbox
attribute onsci-router-outlet
to specify the privileges of embedded contentsandbox
property on microfrontend capability to specify the privileges of the microfrontend; if specified, the platform applies it to the iframe into which the microfrontend is loaded during navigationMicrofrontendPlatformConfig
to enforce setting a sandbox policyAdditional context
The text was updated successfully, but these errors were encountered: