noun
A secure cookie is a type of web cookie that is encrypted and can only be transmitted over secure HTTPS connections, making it harder for hackers to intercept or steal your data.
It works like a regular cookie but with added security measures, such as being marked as ‘Secure’ and ‘HttpOnly,’ which means it can’t be accessed by JavaScript, reducing the risk of cross-site scripting (XSS) attacks.
For users, this means better protection of personal data, such as login sessions or payment details. For example, if you shop online, a secure cookie ensures your payment information is encrypted, reducing the risk of fraud. However, it may require websites to use HTTPS, which can be an extra cost for businesses.
When you log into your bank's website, a secure cookie ensures your session remains protected even if you switch between pages.
In other languages
See also: HTTPS · encryption · privacy policy · GDPR