privacy:cookies
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| privacy:cookies [2025/01/09 11:20] – fixed headers karelkubicek | privacy:cookies [2026/08/31 19:48] (current) – Add one sentence pointing to the new Privacy:Browser storage page for persistence that is not a Set-Cookie. Authored by Claude karel.kubicek.claude | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Classifying Cookies ====== | ====== Classifying Cookies ====== | ||
| - | Browser cookies are still the most commonly used method for tracking the session state of websites and the identity of visitors. According to prior studies, between 80% in 2012 {[roesner2012_detecting]} and 90% in 2019 {[solomos2019_clash, | + | Browser cookies are still the most commonly used method for tracking the session state of websites and the identity of visitors. According to prior studies, between 80% in 2012 {[roesner2012_detecting]} and 90% in 2019 {[solomos2019_clash, |
| Below, we discuss two main classification methods: using datasets of labeled cookies or machine learning (ML) to classify cookies based on their context and request URL. But first some preliminaries. | Below, we discuss two main classification methods: using datasets of labeled cookies or machine learning (ML) to classify cookies based on their context and request URL. But first some preliminaries. | ||
| + | |||
| + | This page is about cookies. A site can persist an identifier in several other places — '' | ||
| ===== First- and Third-Party Cookies ===== | ===== First- and Third-Party Cookies ===== | ||
| - | First-party cookies are set by the domain the user is directly visiting, while all other cookies are from third parties. A common misconception | + | <WRAP important> |
| + | |||
| + | First-party cookies are set by the domain the user is directly visiting, while all other cookies are considered | ||
| + | |||
| + | The only difference is from the browser perspective. First-party cookies are accessible only from the first-party | ||
| Munir et al. {[shaoor2023cookiegraph]} observed that 89.86% of the top-million websites use first-party tracking cookies. Of these, 96.61% are ghostwritten by third-party scripts embedded in the first-party context, and some are set by fingerprinting scripts. | Munir et al. {[shaoor2023cookiegraph]} observed that 89.86% of the top-million websites use first-party tracking cookies. Of these, 96.61% are ghostwritten by third-party scripts embedded in the first-party context, and some are set by fingerprinting scripts. | ||
| Line 30: | Line 36: | ||
| Using datasets of cookies or online classification services has significant disadvantages: | Using datasets of cookies or online classification services has significant disadvantages: | ||
| - | We discuss issues with dynamic cookie names, publicly released datasets, and two main online classification services: Cookiepedia and Cookiedatabase. | + | <WRAP info> |
| - | + | ||
| - | ==== Dynamic Cookie Names ==== | + | |
| Some websites deviate from the typical key-value (cookie name and cookie value) scheme by storing data directly in the cookie name. There are several cases, explained by following examples: | Some websites deviate from the typical key-value (cookie name and cookie value) scheme by storing data directly in the cookie name. There are several cases, explained by following examples: | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| + | </ | ||
| + | |||
| + | We discuss publicly released datasets and two main online classification services: Cookiepedia and Cookiedatabase. | ||
| ==== OneTrust and CookieBot Dataset ==== | ==== OneTrust and CookieBot Dataset ==== | ||
| Line 81: | Line 88: | ||
| - Preferences Cookies (in some jurisdictions known as functionality) | - Preferences Cookies (in some jurisdictions known as functionality) | ||
| + | ==== Cookiesearch ==== | ||
| + | |||
| + | https:// | ||
| ===== Machine-Learning Classification ===== | ===== Machine-Learning Classification ===== | ||
| Line 122: | Line 132: | ||
| Edit your crawler to load the profile before starting the crawl and to extract the cookie category data afterward: | Edit your crawler to load the profile before starting the crawl and to extract the cookie category data afterward: | ||
| - | <file python | + | <file python |
| import json | import json | ||
| from selenium import webdriver | from selenium import webdriver | ||
privacy/cookies.1736421607.txt.gz · Last modified: by karelkubicek
