|
+5.1.1 Browser Cookies |
5.1.1 Browser CookiesBrowser cookies are the predominant mechanism by which a session is created and tracked when a subscriber accesses a service. Cookies are not authenticators but are suitable as short-term secrets for the duration of a session. Cookies used for session maintenance: SHALL be tagged to be accessible only on secure (i.e., HTTPS) sessions.
SHALL be accessible to the minimum practical hostnames and paths.
SHOULD be tagged as inaccessible via JavaScript (i.e., HttpOnly).
SHOULD be tagged to expire at or soon after the session’s validity period. This requirement is intended to limit the accumulation of cookies but SHALL NOT be relied upon to enforce session timeouts.
SHOULD have the “__Host-“ prefix and set “Path=/”.
SHOULD set “SameSite=Lax” or “SameSite=Strict”.
SHOULD contain only an opaque string (e.g., a session identifier) and SHALL NOT contain cleartext personal information.
1. Oversigt
1.1 Referencer1.2 Identificerede krav1.3 Relaterede reguleringer2. Identificerede krav
3. Relaterede reguleringer
|