혼합 콘텐츠(Mixed content)

지니씨·2022년 6월 3일
0

프론트엔드

목록 보기
29/84

혼합 콘텐츠(Mixed content)란?

https로 설정이 된 웹사이트에서 http 콘텐츠가 혼합되어 있는 경우
크롬에서는 https 사이트에서 http 콘텐츠 다운로드 막아둠
https://web.dev/what-is-mixed-content/
https://web.dev/fixing-mixed-content/
https://cert.crosscert.com/%ef%bb%bfhttps-%ed%81%ac%eb%a1%ac%ea%b3%bc-%ed%8c%8c%ec%9d%b4%ec%96%b4%ed%8f%ad%ec%8a%a4-%ed%98%bc%ed%95%a9-%ec%bb%a8%ed%85%90%ec%b8%a0mixed-content-%ec%b0%a8%eb%8b%a8/


https 사이트에서 http 데이터 호출 에러

https사이트에서 http와 통신하는 것은 권장되지 않는다.
https통신으로 보안환경을 만들어도 http를 통해 https 보안규칙을 위반한 채 침입할 수 있기 때문이다.

<!-- https 사이트에서 http와 통신하고자할 때 html 에 아래 코드 추가하면 임시방편으로 가능하긴 함 -->
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

https://stackoverflow.com/questions/35178135/how-to-fix-insecure-content-was-loaded-over-https-but-requested-an-insecure-re

profile
하루 모아 평생 🧚🏻

0개의 댓글