본문 바로가기 메뉴 바로가기

구티

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

구티

검색하기 폼
  • 분류 전체보기 (172)
    • General (4)
    • MacOS (9)
    • Jenkins (3)
    • Linux (18)
    • Elastic Stack (19)
    • Spring (31)
    • Geography (1)
    • Tools (27)
    • GIT (1)
    • Gradle (8)
    • Java (16)
    • Prometheus & Grafana (0)
    • Spark & Scala (7)
    • Hadoop (1)
    • Synology (1)
    • Backend (3)
    • Cloud Platform (10)
      • AWS (10)
    • Web (0)
    • Frontend (3)
      • material-ui (1)
      • ReactJS (0)
    • Docker (5)
    • Database (3)
  • 방명록

Spring (31)
[ Spring Boot ] X-Frame-Options 설정

X-Frame-Options 헤더는 clickjacking attack을 방지하기 위해 사용하는 헤더이다. , or tag에 페이지 렌더링을 허용할지 말지를 정의 할 수 있다. SAMEORIGIN 같은 origin(서버) 에서는 렌더링을 허용 DENY 렌더링을 허용하지 않음 ALLOW-FROM url 특정 url에서만 렌더링을 허용 코드 httpSecurity.headers().frameOptions().disable().addHeaderWriter( new XFrameOptionsHeaderWriter( new StaticAllowFromStrategy(URI.create("*")) ) ) : httpSecurity 에서 allow-from 으로 모든 URI를 허용하는 코드이다. httpSecurity..

Spring 2020. 3. 18. 12:41
이전 1 2 3 4 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Container
  • Log
  • gradle
  • Postman
  • JSON
  • apm
  • spring
  • error
  • JPA
  • install
  • intellij
  • Index
  • scala
  • maven
  • docker
  • Linux
  • Git
  • Kibana
  • logstash
  • Spark
  • AWS
  • plugin
  • mac
  • Filter
  • Size
  • spring boot
  • SpringBoot
  • tomcat
  • elasticsearch
  • Java
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바