HTML - Embed Iframe | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Umesh_Thakur
Umesh_ThakurAccepted solution
New Participant
Jan 22, 2021 1:46 PM UTC

Hi @aemlearner-1989 ,

This issue you are facing, It seems due to XSS protection config, that is based on OWASP recommnedation.

So to enable it you need to enable the iframe in the config file. but that is not recommended.

 

OR

ELse you can use some jquery or vanila js to implement such thing using client libs.

 

Hope this will help

Umesh Thakur

3 replies

Kiran_Vedantam
New Participant
Jan 25, 2021 1:15 PM UTC

Hi @aemlearner-1989,

 

You cant show many websites in an iFrame. Reason: An "X-Frame-Options: SAMEORIGIN" response header is set. which prevents the browser from displaying iFrames that are not hosted on the same domain [like parent page]. Its a security feature to prevent click-jacking.

 

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

Translate
BrianKasingli
New Participant
Jan 22, 2021 6:03 PM UTC

@aemlearner-1989, can you please share the error message from your console please?

Translate
Umesh_Thakur
Umesh_ThakurAccepted solution
New Participant
Jan 22, 2021 1:46 PM UTC

Hi @aemlearner-1989 ,

This issue you are facing, It seems due to XSS protection config, that is based on OWASP recommnedation.

So to enable it you need to enable the iframe in the config file. but that is not recommended.

 

OR

ELse you can use some jquery or vanila js to implement such thing using client libs.

 

Hope this will help

Umesh Thakur

Translate