How to show insecure content in iframe?

Member

by kadin , in category: HTML & CSS , 17 days ago

How to show insecure content in iframe?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by brandy , 16 days ago

@kadin 

To show insecure content in an iframe, you can use the allow="insecure-content" attribute within the iframe tag. Here is an example:

1
<iframe src="http://example.com" allow="insecure-content"></iframe>


This attribute tells the browser to allow insecure content to be loaded within the iframe. Keep in mind that displaying insecure content can pose security risks, so it is important to use caution when doing so.