Skip to content

Latest commit

 

History

History
19 lines (9 loc) · 737 Bytes

HTML.md

File metadata and controls

19 lines (9 loc) · 737 Bytes

HTML

HTML Iframe

add Iframe

<iframe src="URL"></iframe>

other tag

https://www.w3school.com.cn/html/html_iframe.asp

Security Concern for CORS, 跨來源資源功用攻擊的資安問題

https://pattyappier.blog/2019/02/19/cyber-attacks-探討攻擊/

Iframe Sandbox, 同源或是用來引入跨域來源不受信任的內容,例如某些社交媒體的插件,對此因應方式為提出規範提議,讓瀏覽器採納的 HTML5 屬性,為嵌入式頁框加入額外限制。(此限制包含:防止使用表單、停止腳本執行、不允許頂層導航、從源頭捕捉等等,這些限制衍生於每個父頁框,藉此確保任何巢狀 IFrames 時,均會自動繼承這些限制。)