참고 자료 · 06

안전하고 고성능의 웹: 여정 중심 감사 가이드

사용자가 실제로 완료해야 하는 작업을 중심으로 속도, 접근성, 보안 및 전환율을 감사합니다.

업데이트됨 · 17 min

복도에서 스모크 유리 너머로 보이는 가상의 무인 사이버 검증실, 추상 브라우저 화면, 네트워크 랙 및 버건디 바인더 AI로 생성한 편집용 일러스트

이 가이드가 달성하는 목표

  • 실제 사용자 차단 요소를 우선순위로 지정
  • 용량, 종속성 및 공격 표면 감소
  • 성능과 전환율 연결
  • 현실적인 조건에서 수정 사항 검증

빠른 확인

  • 가장 가치 있는 세 가지 사용자 여정이 명시되어 있습니까?
  • 모바일에 맞게 필드 데이터가 분할되어 있습니까?
  • 키보드로 사이트를 사용할 수 있습니까?
  • 모든 타사 스크립트에 담당자가 있습니까?
  • 양식 오류가 사용자가 작업을 완료하는 데 도움이 됩니까?

단계별 방법

  1. 1

    핵심 여정 선택

    비즈니스 가치를 기준으로 검색, 읽기, 연락, 가입, 구매 또는 관리 여정을 선택합니다. 기기, 네트워크, 컨텍스트 및 예상 결과를 설명합니다.

    결과물: 우선순위가 지정된 테스트 시나리오

  2. 2

    현장 및 실험실 측정

    집계된 실제 사용자 데이터를 재현 가능한 테스트와 결합합니다. 로딩, 응답성, 안정성, 오류 및 이탈률을 관찰하되, 분석을 단일 점수로 축소하지 않습니다.

    결과물: 세분화된 기준선.

  3. 3

    핵심 경로를 검사합니다.

    초기 HTML, 글꼴, 이미지, JavaScript, 캐싱, 서버 응답 및 차단 리소스를 검토합니다. 사용자 여정을 지원하는 요소에 명확한 예산을 할당합니다.

    결과물: 성능 예산.

  4. 4

    노출된 영역을 줄입니다.

    타사 스크립트, 종속성, 헤더, 쿠키, 세션, 양식 및 관리자 인터페이스를 목록화합니다. 불필요한 부분을 제거하고 서버 보안을 강화합니다.

    결과물: 종속성 및 보호 등록부.

  5. 5

    포괄적인 사용자 경험을 테스트합니다.

    키보드, 화면 판독기, 작은 화면, 확대/축소 및 오류 상태에서 모든 작업을 실행합니다. 레이블, 포커스, 대비 및 복구 메시지를 확인합니다.

    결과물: 접근성 및 마찰 보고서.

  6. 6

    가이드라인을 포함한 릴리스

    안정적인 제어를 자동화하고, 릴리스 후 비즈니스 결과를 관찰하고, 롤백을 준비합니다. 실제 사용자 경험이 회귀 없이 개선되면 수정 사항이 완료됩니다.

    결과물: 지속적인 검증 계획.

이해하고 계산하고 판단하기

Core Web Vitals: p75와 측정 범위 이해하기

LCP는 주요 콘텐츠 로딩, INP는 상호작용 응답성, CLS는 시각적 안정성을 나타냅니다. 75번째 백분위수를 사용하고 모바일과 데스크톱을 구분합니다. 도구는 입력값을 분류하며 사이트를 방문하거나 측정하지 않습니다.

URL 또는 페이지 그룹, 기간, 기기, 측정 도구를 기록하세요. 실험실 테스트는 원인을 재현하는 데 도움이 되지만 실제 방문의 분포를 대체하지 못합니다. INP 값이 없다고 즉각 응답했다는 뜻은 아닙니다.

지표와 근거

지표해석필요한 근거
LCP ≤ 2.5초 로딩이 좋음 범위에 해당 p75, 주요 요소와 로딩 지연
INP ≤ 200밀리초 응답성이 좋음 범위에 해당 p75와 재현된 느린 상호작용
CLS ≤ 0.1 안정성이 좋음 범위에 해당 p75와 이동하는 요소

계산 규칙

좋음: LCP ≤ 2.5, INP ≤ 200, CLS ≤ 0.1. 나쁨: LCP > 4, INP > 500, CLS > 0.25. 그 사이는 개선 필요입니다.

가상 예시

예시 상황

예약 페이지는 실험실에서는 빠르게 보이지만 모바일에서 확인 버튼의 응답 속도가 느립니다. 팀은 기기와 사용자 경험별로 현장 측정값을 분류한 다음 JavaScript 및 키보드 동작을 줄여 테스트합니다.

결정 및 예상 증거

변경 사항은 작업의 접근성이 유지되고 상호 작용이 개선되며 사용자 경험의 보안 제어가 여전히 작동하는 경우에만 승인됩니다.

관리 지표

지표측정 대상첫 번째 조치
여정 성공률사용자가 차단 오류 없이 작업을 완료함여러 세그먼트에서 공통적으로 발생하는 문제를 먼저 해결함
현장 성능실제 기기에서의 로딩, 상호 작용 및 안정성주요 병목 현상을 해결하기 전에 세그먼트를 최적화함
타사 비용바이트, 메인 스레드 시간 및 직접 제어 범위를 벗어난 요청필수적이지 않은 각 타사를 제거, 연기 또는 교체함
오류율단계별 기술 및 입력 오류예방, 메시지 및 복구 기능을 개선함

일반적인 실수

  • 홈페이지만 최적화함
  • 실험실 점수와 실제 경험을 혼동함
  • 불필요한 위험을 제거하지 않고 보안 도구를 추가함
  • 밀리초를 절약하기 위해 접근성 또는 측정 기능을 손상시킴

자주 묻는 질문

성능과 보안이 충돌하는가?

아니요. 의존성, JavaScript 및 불필요한 요청을 줄이면 종종 두 가지 모두 개선됩니다. 절충점은 실제 사용자 경험 및 위험을 기준으로 평가해야 합니다.

목표 점수는 얼마로 설정해야 할까요?

단일 임계값으로는 현장 데이터를 대체할 수 없습니다. 사용자 경험, 기기 및 대상 고객별로 예산을 설정하고 비즈니스 성과와 함께 추적하세요.

접근성을 감사에 포함해야 하는 이유는 무엇일까요?

키보드로 사용하거나 이해할 수 없거나 복구할 수 없는 빠른 작업은 사용자 및 상업적 실패로 이어지기 때문입니다.

참고 자료: 데이터, 용도와 한계

문서 검토일 .

이 언어판의 상세 참고 설명은 영어로 제공됩니다.

참고 자료: 데이터, 용도와 한계
출처와 목적확인된 데이터 또는 기준사용 방법유지해야 할 한계
MDN · Cookie boundaries

Understand session-cookie scope and SameSite boundaries.

Secure, HttpOnly, SameSite and the __Host- prefix address different risks. A site can include multiple origins. Test external navigation, subdomains, provider returns and authenticated operations separately.

방법 자세히 보기 →

Cookie configuration does not replace CSRF checks or server-side authorisation.

IANA 참조와 DNSSEC 해석

이 언어판의 상세 참고 설명은 영어로 제공됩니다.

Distinguish resolution, caching and web responses

An outage can occur before any HTTP response. Examine DNS resolution, its validation and caches separately from the web server.

  • Record the failing stage and the resolver involved.
  • A received TTL and RRSIG expiration are different constraints.
  • An error disappearing on one device does not prove recovery for all visitors.

Read the registries and try the cache model →

IETF · RFC 4033 · §3–5 · 2026-10-23

확장 프로그램: 권한과 접근

이 언어판의 상세 참고 설명은 영어로 제공됩니다.

Include the browser in exposure scope

A hardened site can still be visited from a profile with highly authorised extensions. Keep the boundary between site security, browser capabilities and managed-endpoint choices visible.

  • Inventory the test profile’s extensions with version and accountable owner.
  • Explain each required host and check optional permissions actually granted.
  • Test restriction and removal; static manifest reading cannot replace code and traffic observation.

Read the permission directory and manifest examples →

Microsoft Learn · Manage Microsoft Edge extensions using group policies · Enterprise policy documentation consulted 2026-10-23

CSP: 지시문, 대체 규칙 및 흐름

이 언어판의 상세 참고 설명은 영어로 제공됩니다.

CSP tells a browser which resources and certain behaviours a page permits. Reviewing it requires distinguishing the requested directive, its possible fallback, policy mode and delivery. A directive name in a header alone does not establish that a user journey is protected.

Twelve fallback chains extracted from CSP3 §6.8.3, three independent checks and eight fictional scenarios. Reference: W3C Working Draft of 16 September 2026, a work in progress rather than a final Recommendation. The consulted IANA registry contains sixteen names and was updated 3 February 2023.

W3C · Content Security Policy Level 3 · Mike West, Antonio Sartori · Working Draft · 2026-09-16 · work in progress · §2.2.1, §3, §6.8.3–6.8.4, §8.1

Twelve fallback orders and three checks without default-src

The selected list is not added to default-src. A present but empty directive also stops lookup. The final three rows are not fetch chains: base-uri, form-action and frame-ancestors require their own directive.

Twelve fallback orders and three checks without default-src
Requested checkLookup order · first present directive winsReference
script-src-elemscript-src-elem → script-src → default-srcCSP3 §6.8.3
script-src-attrscript-src-attr → script-src → default-srcCSP3 §6.8.3
style-src-elemstyle-src-elem → style-src → default-srcCSP3 §6.8.3
style-src-attrstyle-src-attr → style-src → default-srcCSP3 §6.8.3
worker-srcworker-src → child-src → script-src → default-srcCSP3 §6.8.3
connect-srcconnect-src → default-srcCSP3 §6.8.3
manifest-srcmanifest-src → default-srcCSP3 §6.8.3
object-srcobject-src → default-srcCSP3 §6.8.3
frame-srcframe-src → child-src → default-srcCSP3 §6.8.3
media-srcmedia-src → default-srcCSP3 §6.8.3
font-srcfont-src → default-srcCSP3 §6.8.3
img-srcimg-src → default-srcCSP3 §6.8.3
base-uribase-uribase-uri
form-actionform-actionform-action
frame-ancestorsframe-ancestorsframe-ancestors

CSP 읽기 실습

Choose a case and a check. This workshop uses pre-separated example directives, keeps the first occurrence of each name and stops at the first directive present in the stated order. It does not parse arbitrary CSP or check source expressions, URLs, nonces, hashes, redirects or actual browser behaviour.

Each policy is read separately with its mode and delivery. Values are displayed as text; the workshop loads no resource named by an example.

Delivery and mode: three different readings

Delivery and mode: three different readings
MechanismWhat to checkLimit
Content-Security-PolicyResponse header and policies actually received.Each enforced policy adds its constraint; a second cannot relax the first.
Content-Security-Policy-Report-OnlyViolation observation and the configured reporting path.Monitoring mode does not enforce this policy’s blocking.
meta http-equivElement position and content processed before it.Report-Only, frame-ancestors, report-uri and sandbox are not supplied by this mechanism.

Eight reading scenarios and acceptance exercises

C01 · Fallback to default-src

script-src-elem

1 · enforce · header

Content-Security-Policy: default-src 'none'

Reading : script-src-elem and script-src are absent, so the chain reaches default-src. This list does not define base-uri, form-action or frame-ancestors.

Test to add : Select those three independent checks as well. Do not infer protection against embedding the page from default-src.

C02 · Fallback is not source-list merging

script-src-attr

1 · enforce · header

Content-Security-Policy: default-src 'none'; script-src 'self'

Reading : script-src-attr reaches script-src before default-src. Their lists are not concatenated. The presence of self alone does not authorise an inline event handler.

Test to add : Test script elements, event attributes and other relevant mechanisms separately. The workshop selects a directive; it does not decide whether a script executes.

C03 · A worker reaches child-src before script-src

worker-src

1 · enforce · header

Content-Security-Policy: default-src 'none'; script-src 'self'; child-src https://frames.example.net

Reading : worker-src is absent. The first directive present in its fallback order is child-src. The word child does not mean only iframes are affected.

Test to add : Check workers and frames separately; record the selected control and observe the browser in its real context.

C04 · A specific directive stops fallback

worker-src

1 · enforce · header

Content-Security-Policy: default-src 'none'; child-src https://frames.example.net; worker-src 'self' blob:

Reading : worker-src is present: neither child-src nor default-src supplies the list for this check. Its value is displayed without checking a URL, redirect or local scheme.

Test to add : Test creation and loading of expected workers together with their own policy and dependencies. Do not treat this illustrative list as universal configuration.

C05 · An empty directive is not absent

img-src

1 · enforce · header

Content-Security-Policy: img-src; img-src https://images.example.net; default-src 'self'

Reading : The first img-src occurrence is retained with an empty list. The second occurrence is discarded in this policy; the workshop does not replace the first with default-src.

Test to add : Check duplicates in configuration and the received response. A present field without source expressions must not be treated as missing.

C06 · Two enforced policies remain two constraints

connect-src

1 · enforce · header

Content-Security-Policy: default-src 'self'; connect-src 'none'

2 · enforce · header

Content-Security-Policy: connect-src https://api.example.net

Reading : The first policy retains connect-src none; the second names an origin. Adding the second does not lift the first policy’s restriction. Results are shown separately.

Test to add : Observe every received header after CDN and proxy handling. Do not unite both policies’ sources into a broader allowlist.

C07 · Monitoring is not enforcement

script-src-elem

1 · enforce · header

Content-Security-Policy: script-src 'self'

2 · report-only · header

Content-Security-Policy-Report-Only: script-src 'none'

Reading : script-src is selected in both policies. The second is Report-Only: it monitors violations without enforcing its blocking. The first retains its own effect.

Test to add : Plan report collection and check real journeys before a separately decided enforcement change. A monitored directive name alone does not establish blocking.

C08 · frame-ancestors in meta is ignored

frame-ancestors

1 · enforce · meta

<meta http-equiv="Content-Security-Policy" content="default-src 'none'; frame-ancestors 'none'">

Reading : This directive is not supported in a meta-delivered policy. default-src remains a resource control rather than a fallback for frame-ancestors.

Test to add : Inspect the policy actually received in headers and authorised embeddings. A meta element cannot supply Report-Only mode either.

Sixteen IANA names: registration differs from support

CSP2 registry references are preserved verbatim. This copy does not list every CSP3 addition: absence of worker-src or script-src-elem does not invalidate those names in CSP3. Conversely, a historical name such as plugin-types does not establish support in a current browser.

IANA · Content Security Policy Directives · Registry updated 2023-02-03 · consulted 2026-10-23

Sixteen IANA names: registration differs from support
Registered nameRegistry referenceRegistration date
base-urihttps://www.w3.org/TR/CSP2/2015-11-24
child-srchttps://www.w3.org/TR/CSP2/2015-11-24
connect-srchttps://www.w3.org/TR/CSP2/2015-11-24
default-srchttps://www.w3.org/TR/CSP2/2015-11-24
font-srchttps://www.w3.org/TR/CSP2/2015-11-24
form-actionhttps://www.w3.org/TR/CSP2/2015-11-24
frame-ancestorshttps://www.w3.org/TR/CSP2/2015-11-24
frame-srchttps://www.w3.org/TR/CSP2/2015-11-24
img-srchttps://www.w3.org/TR/CSP2/2015-11-24
media-srchttps://www.w3.org/TR/CSP2/2015-11-24
object-srchttps://www.w3.org/TR/CSP2/2015-11-24
plugin-typeshttps://www.w3.org/TR/CSP2/2015-11-24
report-urihttps://www.w3.org/TR/CSP2/2015-11-24
sandboxhttps://www.w3.org/TR/CSP2/2015-11-24
script-srchttps://www.w3.org/TR/CSP2/2015-11-24
style-srchttps://www.w3.org/TR/CSP2/2015-11-24

IANA · Protocol Registries · CC0 1.0 · Revised 2021-11-10

Test protection without breaking the journey

Test protection without breaking the journey
Proposed CIE journeyControl to reviewUseful evidence
Sign-in and recoveryRequired scripts, styles, frames and connections.Success, useful refusal, recovery and errors observed with received policies.
Payment or external integrationframe-src for embedded content; frame-ancestors for who embeds your page.Test the two directions separately rather than conflate them.
Form and confirmationform-action, validation scripts and API requests.Submission and confirmation received; a click alone does not establish processing.
Worker and deferred featuresworker-src and its fallback order.Creation, dependent resources and visible errors in the authorised context.
Third-party additionInventory of actually required scripts, connections, images and frames.Documented need and sampled journeys; no wildcard added to hide a breakage.
Progressive releaseObserved mode, configuration version and stop criteria.Reviewed reports, attributed defects, tests and an enforcement decision.

Associate a policy with the page version and test critical journeys after CDN or proxy transformations. CSP is defence in depth: it does not replace output encoding, dependency control or access checks. This model explains directive selection rather than a security verdict.

Provenance, edition and licence

W3C CSP3 · Working Draft 2026-09-16 · reviewed 2026-10-23 · IANA registry 2023-02-03

IANA XML SHA-256: 42d2068b345f9b1df2bb124dd8b20e26d16dbd86960aafb62624aa285f2997c0

W3C HTML SHA-256: df90a9028632b39c70d9ed40dadfadbc2f3f690621ecf6212ef4f1376005738e

W3C · Software and Document license · 2023 · Effective 2023-01-01 · full notice below

This document and its lookup data include material derived from Content Security Policy Level 3, https://www.w3.org/TR/2026/WD-CSP3-20260916/. Copyright © 2026 World Wide Web Consortium. https://www.w3.org/copyright/software-license-2023/
Changes: selected fallback lists extracted as data; original CIE explanations, fictional scenarios and limited lookup implementation added.

This work is being provided by the copyright holders under the following license.
By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions.
Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications:
The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C software and document short notice should be included.
Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [$year-of-document] World Wide Web Consortium. https://www.w3.org/copyright/software-license-2023/"
THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT.
The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders.

Core Web Vitals: 기준 및 현장 데이터

이 언어판의 상세 참고 설명은 영어로 제공됩니다.

Web performance: state the measurement scope

Before announcing a gain, retain device, URL or origin and collection period.

  • Compare the same device, scope and documented periods.
  • Do not turn missing data into zero.
  • Verify functions and accessibility after the fix.

Read the thresholds and try the p75 reader →

Google · About PageSpeed Insights · Living documentation · consulted 2026-10-23

공식 참조

참조는 방법을 뒷받침합니다. 상황에 맞게 검사를 조정하십시오. 이는 인증이 아닙니다. 원본 참조 제목 및 소스 문서는 다른 언어로 작성되었을 수 있습니다.

참고 자료 확인일 .