
Accepting a tracking cookie is rarely dangerous to a business by itself: it is a small identifier that lets an advertiser or analytics service recognize the same browser across visits, which is a privacy cost, not a break-in. The cookie that matters for business security is a different kind, the sign-in session cookie, because a stolen one can let someone into a staff member's email or files without the password or the MFA prompt.
So the useful question for an office manager is not "should staff click Accept" but "which browsers hold our sign-in sessions, and what happens if one of those sessions is copied?" This guide answers both.
What a tracking cookie actually does
Mozilla's developer documentation lists three main uses for cookies: session management (sign-in status, shopping carts), personalization (language, theme) and tracking, meaning "recording and analyzing user behavior." Cookies set by content embedded from another site are third-party cookies, the classic tracking kind, and Mozilla notes that "some browsers block third-party cookies by default" (MDN: Using HTTP cookies).
The Federal Trade Commission's consumer guidance describes the same thing from the user's side: sites "may track your online activity by using a cookie or pixel to identify you even after you leave the site," and cookie notices often let you choose between necessary cookies only and cookies for advertising and other purposes (FTC: How to protect your privacy online). Choosing necessary-only is a reasonable default for staff. It reduces the profile advertisers build about your employees' work browsing; it does not change whether a laptop gets infected.
Can accepting cookies be dangerous?
The cookie is not the danger; the site is. A cookie cannot run code, and accepting one on a legitimate site does not install anything. Two related things can hurt a business, and neither is solved by refusing cookies:
- The site itself is malicious. A fake login page or a booby-trapped download is dangerous whether or not you click Accept on its banner. That is a web filtering and phishing problem; see safer web browsing at work.
- A sign-in session is copied. Mozilla's documentation is direct about this risk: "A criminal could for example steal a session ID and use it to set a cookie that makes it look like they are logged in as someone else." Session cookies for Microsoft 365, Google Workspace, banking and payroll sites are the valuable ones, and they are created by signing in, not by accepting a banner.
The sign-in cookie is the asset to protect
When a staff member signs in to Microsoft 365 and completes MFA, the browser keeps a token so they are not asked again on every click. If malware on the laptop or a fake proxy login page captures that token, it can be replayed from another machine. Microsoft's answer for its own services is Token Protection, a Conditional Access control that accepts only sign-in session tokens bound to the registered device, so that "even if a threat actor steals the token, it can't be used from another device." As of December 2026 Microsoft lists it as generally available for native apps on Windows, macOS and iOS, with browser support in preview for selected web apps, and supported for Exchange Online, SharePoint Online and Teams (Microsoft Learn: Token Protection). Among the Microsoft 365 business plans, Microsoft's security guidance lists Conditional Access only with Business Premium (Microsoft Learn: Microsoft 365 for business security best practices).
Three machines, three cookie risks
This example is illustrative. A 40-person firm looks at where sign-in cookies live.
| Device | What its browser holds | Protection in place | Exception and owner |
|---|---|---|---|
| Staff laptop (company-managed) | Microsoft 365, payroll and bank sessions | Endpoint protection, managed browser settings, Conditional Access requiring a compliant device | None; IT provider reviews sign-in alerts |
| Contractor's personal laptop | A Microsoft 365 session to shared project files | MFA only; the firm cannot see the device | Office manager: limit the contractor to browser access with shorter sessions, or provide a company device |
| Shared reception PC | Whoever signed in last, possibly still signed in | Kiosk-style account with no saved passwords | Office manager: browser set to clear cookies at close, and nobody signs in to personal accounts there |
None of these rows is about advertising cookies. The contractor laptop is the real exposure: a copied session from an unmanaged machine is hard to spot and the firm has no way to clean that device.
Encrypted cookies and what "Secure" means
People search for "encrypt cookies" expecting a setting. For a business that only uses other companies' websites, there is nothing to switch on; the site decides how its cookies are built. For a business that runs its own web app or customer portal, three cookie attributes from Mozilla's documentation belong in the developer's checklist:
- Secure: the cookie is only sent over HTTPS. Mozilla warns not to assume it hides the value from someone with access to the computer.
- HttpOnly: page scripts cannot read the cookie, which blunts the most common way session cookies are stolen through a site flaw.
- SameSite: controls whether the cookie travels with cross-site requests;
SameSite=NonerequiresSecure.
Mozilla also notes that cookie values are, by default, visible to and changeable by the user, and recommends storing an opaque identifier the server looks up rather than sensitive data. That is what "encrypted cookies" usually amounts to in practice: nothing sensitive in the cookie at all.
A short checklist for the office
- Set a necessary-only cookie preference as the staff default. It is a privacy improvement with no downside for work.
- Manage the browser on company devices. Updates, extension control and saved-password policy matter more than cookie banners; see business endpoint security and management.
- Require compliant devices for Microsoft 365 where you can. A stolen session is far less useful if the service rejects unknown machines.
- Treat unmanaged devices as an exception with an owner. Shorter sessions and browser-only access limit what a copied cookie is worth.
- Know the response. If an account shows sign-ins from somewhere strange, revoke its sessions as well as changing the password; what to do after a business account is hacked has the steps.
To see how your own devices, browsers and sign-ins measure up, Take the cybersecurity assessment. If you would rather have us set up the controls, our cybersecurity services cover endpoint, identity and browser policy together.
More on this topic: Cybersecurity guides.
Frequently asked questions
Are tracking cookies dangerous?
Not in the sense of malware. Tracking cookies let advertisers and analytics services recognize a browser across visits, which is a privacy concern. The cookies that carry security risk are sign-in session cookies, because a stolen one can be replayed to access an account.
Is it dangerous to accept cookies on a website?
Accepting cookies on a legitimate site does not install anything or give the site access to your computer. If the site itself is malicious, the danger comes from what it asks you to download or type, not from the cookie banner.
Are there safe cookies to accept?
Necessary cookies, the ones that keep you signed in or remember a cart, are needed for sites to work. The FTC notes that many cookie notices let you accept only necessary cookies and decline advertising ones, which is a sensible default for work browsing.
What are encrypted cookies?
Usually it means a cookie whose value is protected or replaced with a meaningless identifier, so nothing sensitive sits in the browser. Mozilla's documentation recommends storing an opaque identifier the server looks up, and sending session cookies with the Secure and HttpOnly attributes.
Sources
Discuss Cyber Security for your business.
Tell us about your current systems, the result you need and your timeline. We will discuss the work, responsibilities and pricing before you decide on an engagement.

