DENY(2)
-
Nginx 특정 IP 막기
error.log에 이상한 접속이 있어서 해당 IP의 접근 차단server { listen 80; server_name {도메인}; # Deny access for the specific IP address deny {ip}; allow all; # Other configuration settings root {디렉토리}; index index.html index.htm; # ... additional configuration ...}
2025.02.01 -
Spring boot X-Frame-Options 처리
iframe 사용시 에러 발생브라우져의 header 정보에서 확인할 수 있실제로는 Ext.window.Window 사용하여 팝업 실행하여 서버에 호출함chrome-error://chromewebdata/:1 Refused to display 'http://localhost/' in a frame because it set 'X-Frame-Options' to 'deny'. X-Frame-Options 값DENY – Prevents the site from being embedded in any iframe.SAMEORIGIN – Allows embedding only if the parent is from the same origin.ALLOW-FROM – Allows embedding only fro..
2024.12.26