On Dec. 4, people celebrate National Cookie Day with the baked kind each year. The digital kind is also worth paying attention to. Website cookies are small files that help sites remember you, like your login and preferences.
Session cookies contain the ID that tells the site you are logged in and therefore represent a target. A site can treat whoever has a stolen session cookie as you, with no password required. The risk is live. In November 2026, a researcher disclosed an open database of approximately 2 billion credential records, containing cookies and session tokens.
Here are five points to manage cookies wisely.
- Be selective with consent. Accept only the cookies a site genuinely needs and decline optional tracking. In Bahrain, the Personal Data Protection Law sets the rule that personal data may not be processed without the individual's consent unless the law allows it, so websites should ask clearly and respect your choice.
- Clear cookies regularly. CISA advises clearing cookies and stored data from your browser and, where possible, setting the browser to clear them when you close it.
- Avoid unsecured connections. Cookies sent over plain HTTP can be intercepted, which is why the Secure attribute exists to keep them to HTTPS. Browse sensitive accounts only over HTTPS and on networks you trust.
- Log out, use MFA and keep your browser updated. MFA is essential, but it does not stop a stolen session cookie: infostealers such as "Storm", reported in 2026, take cookies from the browser and replay the session, bypassing passwords and MFA. Log out when you finish, avoid downloads and links from untrusted sources, and update your browser. Chrome 146 on Windows now adds Device Bound Session Credentials, which tie sessions to your device.
- Website owners: secure your cookies. MDN and OWASP recommend the Secure attribute (cookie sent only over HTTPS), HttpOnly (hidden from JavaScript) and an explicit SameSite setting for session cookies. Websites can also adopt device-bound sessions to make stolen cookies far less useful.
How Advantari can help
Understanding cookies is the first step to controlling your digital footprint. Advantari helps individuals and organizations understand how website cookies work, where the risks sit, and how to configure and monitor them securely.
For more cybersecurity awareness, explore more of our cyber security solutions or contact us at +973 7793 3555 or email sales@advantari.com.
Sources
Recent news
- Help Net Security, 10 Apr 2026: To counter cookie theft, Chrome ships device-bound session credentials
- BleepingComputer, 13 Apr 2026: The silent "Storm": New infostealer hijacks sessions, decrypts server-side
- ExpressVPN Research, 24 Nov 2026: Nearly 2 billion credentials exposed in a publicly accessible database
- Cybernews, Nov 2026: Supersized dataset of 2 billion records surfaces online
Guidance and standards
- Kingdom of Bahrain National Portal: Personal Data Protection Law
- CISA: Tips to Stay Safe while Surfing the Web, Part 1: Web Browser Settings
- MDN Web Docs: Secure cookie configuration
- OWASP: Testing for Cookies Attributes
