백엔드, 데이터 및 보안 핵심 A1 · 공식 표준 플랫폼: 웹

HTTP Cookie

HTTP 쿠키

HTTP 쿠키는 서버나 스크립트에서 설정하는 작고 이름-값 항목입니다. 브라우저는 사이트, 경로, 수명 및 보안 규칙이 허용될 때만 이를 다시 보냅니다.

당신은 이것을 이렇게 부를 수 있습니다 HTTP CookieHTTP 쿠키

작동 방식을 확인하세요

원본 작업 예제HTTP 쿠키

다른 예시

세션 ID 쿠키는 Secure, HttpOnly, SameSite=Lax, Path=/ 및 만료를 사용합니다. 브라우저는 일치하는 경우에만 이를 전송하며 페이지 스크립트에서는 읽을 수 없습니다. 쿠키 자체가 로그인된 세션은 아니며, HttpOnly가 모든 교차 사이트 요청을 막는 것은 아닙니다.

주요 부분

  1. 01이름-값 쌍
  2. 02범위 속성
  3. 03수명 및 보안 플래그

사용할 때

브라우저가 명확한 범위 규칙을 가진 작은 HTTP 상태를 유지해야 할 때 이 용어를 사용하십시오.

다음 경우에는 사용하지 마세요

비밀, 대용량 데이터, 또는 확인되지 않은 앱 객체를 쿠키에 넣지 마세요. 단일 쿠키 설정으로는 전체 보호를 제공하지 않습니다.

코드에서 사용된 이름

Set-Cookie: name=value; Secure; HttpOnly; SameSite=Lax

출시하기 전에

Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.

복사 가능한 요청

Outcome:Complete the task with HTTP 쿠키 (HTTP Cookie)。 User context:세션 ID 쿠키는 Secure, HttpOnly, SameSite=Lax, Path=/ 및 만료를 사용합니다. 브라우저는 일치하는 경우에만 이를 전송하며 페이지 스크립트에서는 읽을 수 없습니다. 쿠키 자체가 로그인된 세션은 아니며, HttpOnly가 모든 교차 사이트 요청을 막는 것은 아닙니다. Technical concept or control:HTTP 쿠키 (HTTP Cookie)。 Why it fits:브라우저가 명확한 범위 규칙을 가진 작은 HTTP 상태를 유지해야 할 때 이 용어를 사용하십시오. Do not use it when:비밀, 대용량 데이터, 또는 확인되지 않은 앱 객체를 쿠키에 넣지 마세요. 단일 쿠키 설정으로는 전체 보호를 제공하지 않습니다. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):이 표준은 나열된 범위만 적용합니다. 시각적 스타일, 제품 결정, 또는 Vibulary 예시는 선택하지 않습니다. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.

이 요청을 확인하세요

Review how HTTP 쿠키 (HTTP Cookie) is used now. Definition: HTTP 쿠키는 서버나 스크립트에서 설정하는 작고 이름-값 항목입니다. 브라우저는 사이트, 경로, 수명 및 보안 규칙이 허용될 때만 이를 다시 보냅니다. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

A1
이 용어는 얼마나 공식적인가요?

공식 표준

이름 붙은 표준이 이 페이지에 적힌 규칙들을 정해요.

이 표준은 나열된 범위만 적용합니다. 시각적 스타일, 제품 결정, 또는 Vibulary 예시는 선택하지 않습니다.

범위
소스가 포함하는 것만:정규 이름、정의、의미론、구현
문서 상태
표준 트랙
선택됨
2026-07-30

증거 출처 및 범위

권위 있는 출처 + 용어 참조 · IETF · 표준 트랙 HTTP State Management Mechanism — 4.1 Set-Cookie 4.1 Set-Cookie 범위: 정규 이름、정의、의미론、구현 여기 역할: 직접 용어 참조 출처 범위: 정규 이름, 정의, 의미론, 구현 권위 있는 출처 · IETF · 표준 트랙 HTTP State Management Mechanism 범위: 정규 이름、정의、의미론、구현 여기 역할: 명시된 범위 안의 권위 출처 범위: 정규 이름, 정의, 의미론, 구현 용어 참조 IETF RFC 6265 — HTTP State Management Mechanism 여기 역할: 직접 용어 참조

직접 복사

브라우저가 이것을 복사할 수 없습니다. 아래 요청을 선택하고 직접 복사하세요.