If you are trying to embed an eternal URL to your SharePoint page and you get the below error, well your URL should be a secure one that starts with https
Why are HTTP URLs not allowed? It is a security measure taken by SharePoint to prevent malicious content from being embedded in pages that can potentially be harmful to users.
Fix:
Belore:
<iframe src="http://code2care.org/sharepoint/embed-web-page-in-sharepoint" width=300 height=300></iframe>
After:
<iframe src="https://code2care.org/sharepoint/embed-web-page-in-sharepoint" width=300 height=300></iframe>
Facing issues? Have Questions? Post them here! I am happy to answer!