HTTP Cookie
HTTP 쿠키
HTTP 쿠키는 서버나 스크립트에서 설정하는 작고 이름-값 항목입니다. 브라우저는 사이트, 경로, 수명 및 보안 규칙이 허용될 때만 이를 다시 보냅니다.
다른 예시
세션 ID 쿠키는 Secure, HttpOnly, SameSite=Lax, Path=/ 및 만료를 사용합니다. 브라우저는 일치하는 경우에만 이를 전송하며 페이지 스크립트에서는 읽을 수 없습니다. 쿠키 자체가 로그인된 세션은 아니며, HttpOnly가 모든 교차 사이트 요청을 막는 것은 아닙니다.
주요 부분
- 01이름-값 쌍
- 02범위 속성
- 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.