---
sourceDocument: Xanadu Now Platform 기능
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - ko-KR

ft:publication_title :

    - Xanadu Now Platform 기능

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# HTTP 응답 헤더

# HTTP 응답 헤더 {#ariaid-title1}

* 릴리스 버전: Xanadu
* 
* 업데이트 날짜 2024년 08월 01일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 4분

응답 헤더는 페이지 콘텐츠 또는 클라이언트가 처리하는 방법에 대한 추가 정보를 제공하기 위해 HTTP 응답에 사용되는 간단한 이름-값 쌍입니다.

UI 페이지 또는 UX 애플리케이션을 포함하는 서비스 포털모든 페이지 또는 특정 유형의 페이지에 대해 HTTP 응답 헤더를 구성할 수 있습니다. 응답 헤더를 구성하고 전달하는 기능을 통해 클라이언트(일반적으로 브라우저)에서 페이지 컨텐츠를 특별 처리할 수 있습니다.

HTTP 헤더가 무엇인지, 특정 HTTP 응답 헤더에 대한 이름-값 쌍을 구성하는 방법에 대한 자세한 내용은 다음을 참조하세요.<https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers>  
응답 헤더를 구성할 때 HTTP 헤더에 대한 정의를 확인하여 클라이언트가 페이지 컨텐츠를 처리하는 방법을 결정해야 합니다.

* 예를 들어 Content-Security-Policy: frame-ancestors 'self' https://www.servicenow.com 특정 페이지 또는 모든 페이지에 대해 HTTP 헤더를 구성합니다.
* Chrome과 같은 브라우저에서 페이지를 호출하면 Chrome 개발자 도구의 응답 헤더 섹션에서 페이지를 검토할 수 있습니다.

{#http-response-header__ul_pfr_cn2_14b}

브라우저에서 프레임 조상이 있는 페이지를 처리하는 방법에 대한 자세한 내용은 을 참조하십시오 <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors>.  
경고:  
사용자 지정 이름-값 쌍이 있는 URL을 사용하는 경우 잠재적인 보안 위험이 있으므로 주의해서 진행하십시오. 계약서에 Now Platform 서명된 보안 수정안에는 보안이 명시되어 있습니다. 결과 URL에 사용자 지정 이름-값 쌍을 사용할 때 잠재적으로 또는 실수로 이를 재정의할 수 있습니다.

* HTTP 응답 헤더 구성 기능을 완전히 사용 안함으로 설정하려면 속성을 false로 설정 glide.http.headers_config.enabled 하십시오.
* false Now Platform 로 설정하면 sys_response_header 테이블에서 정의한 헤더 구성을 사용하지 않습니다.
{#http-response-header__ul_njb_pbm_14b}

## Content-Security-Policy의 특별 처리: frame-ancestor 헤더 {#http-response-header__section_my5_351_14b}

일반적으로 X-Frame-Options: SAMEORIGIN 헤더가 Now Platform 자동으로 포함됩니다.

* 기본적으로 사용하도록 설정되는 전역 속성의 glide.set_x_frame_options 설정에 따라 모든 유형의 브라우저에서 이 헤더를 사용할 수 있도록 지원합니다.
* Content-Security-Policy: frame-ancestor 'self' URL1 URL2 헤더 Now Platform 가 있는 페이지를 구성하면 X-Frame-Options: SAMEORIGIN 헤더가 자동으로 포함되지 않습니다. 이를 제외하면 Content-Security-Policy: frame-ancestor 'self'가 이미 비슷한 효과를 나타내기 때문에 브라우저가 혼동되는 것을 방지할 수 있습니다.
{#http-response-header__ul_e1f_lbm_14b}

## 콘텐츠-보안-정책의 특별 처리: Internet Explorer용 프레임 상위 헤더 {#http-response-header__section_ny5_351_14b}

Content-Security-Policy: frame-ancestor 'self' URL1 URL2 헤더를 사용하면 타사 사이트에서 렌더링된 iFrame 내에서 페이지를 포함하도록 여러 URL 소스를 구성할 수 있습니다. 그러나 Internet Explorer는 이 유형의 헤더를 지원하지 않습니다.

* 대신 Internet Explorer는 단일 호스트 URL에 대한 제한이지만 이 헤더에서 X-Frame-Options: ALLOW-FROM URL(ALLOW-FROM) 지시문만 지원합니다.
* 프레임 상위 'self' URL1 URL2 헤더를 구성하고 Internet Explorer가 사용 Now Platform 중인 경우 X-Frame-Options: ALLOW-FROM URL(ALLOW-FROM) 헤더가 자동으로 대신 사용됩니다.
{#http-response-header__ul_ykg_xk2_14b}  
Internet Explorer 요청에 리퍼러 URL 헤더가 포함된 경우:

* Content-Security-Policy: frame-ancestor 'self' URL1 URL2 헤더에 구성된 호스트 URL(전체 또는 와일드카드 http://\*.example.com 유형 URL 형식만 해당)과 일치시키려고 시도합니다.
* 일치하는 항목이 있는 경우 일치하는 URL을 X-Frame-Options: ALLOW-FROM URL1로 포함합니다.
* 레퍼러 헤더가 없는 경우 Content-Security-Policy: frame-ancestor 'self' URL1 URL2 헤더에 구성된 첫 번째 와일드카드 기반이 아닌 호스트 URL을 사용합니다.

{#http-response-header__ul_qf5_2l2_14b}  
주:  
URL을 구성할 때 URL 끝에 슬래시를 포함하지 마십시오.

* 이 특별 처리로 제대로 작동하지 않을 수 있는 잘못된 구성의 예는 다음과 같습니다.
  * 이름: Content-Security-Policy
  * 값: frame-ancestors 'self' https://microsoft.com/
  {#http-response-header__ul_bgt_53r_nsb}
* 대신 이 올바른 구문을 사용하십시오.
  * 이름: Content-Security-Policy
  * 값: frame-ancestors 'self' https://microsoft.com
  {#http-response-header__ul_s32_x3r_nsb}
{#http-response-header__ul_wdh_ntg_14b}
**관련 정보**   

* [요청 및 응답 콘텐츠 유형 통제](https://www.servicenow.com/docs/access?context=c_SpecifyContentType&version=xanadu&pubname=xanadu-api-reference&ft:locale=en-US)
* 캐시-통제 HTTP 헤더 값
* [콘텐츠 보안 정책:프레임 상위 'self' URL1 URL2](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors)
* [X-Frame-Options: SAMEORIGIN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options)
* [X-Frame-Options : ALLOW-FROM URL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options)

