Error al desplegar un iframe cross-origin frame

Error al desplegar páginas que tienen un iframe webcomponent/embedded page. Se genera un error de tipo iis Blocked a frame with origin from accessing a cross-origin frame.

Mensaje de error:  SecurityError: Blocked a frame with origin from accessing a cross-origin frame

Agregar al IIS la siguiente sección: 

 <system.webServer>
---------------------------------------------------------------

<httpProtocol>
  <customHeaders>
    <add name="Content-Security-Policy" value="frame-ancestors 'self' wms.refaccionariaarboledas.com.mx *.wms.refaccionariaarboledas.com.mx ;" />
    <add name="X-Content-Security-Policy" value="frame-ancestors 'self' wms.refaccionariaarboledas.com.mx *.wms.refaccionariaarboledas.com.mx ;" />
  </customHeaders>
</httpProtocol>

 

Detalles del articulo

ID de artículo:
4
Categoría:
Fecha de alta:
10/24/2022 9:26 pm