@jasen
To allow HTTP content within an iframe on a HTTPS site, you can use the following approach:
1
|
Content-Security-Policy: frame-ancestors 'self' http://example.com; |
Replace http://example.com
with the domain from where the HTTP content is loaded.
1
|
<iframe src="http://example.com" allow="insecure-content"></iframe> |
By using these approaches, you can allow loading HTTP content within an iframe on a HTTPS site. However, keep in mind that loading HTTP content within a HTTPS site can pose security risks, so it is recommended to use HTTPS content whenever possible.