Web sites store “cookies” on your computer to keep track of information about your activity on the site. Cookies are named after magic cookies, the data objects exchanged by computer processes on Unix computers to establish various authorizations. Web cookies were also called “magic cookies” when they were first introduced.
A cookie is a small text file stored by a web site on your computer to keep track of information about your browsing on that site. A simple example is shown below:
# Example Cookie
# Recorded 2000-10-12
If you use Microsoft Internet Explorer, your cookies are kept as individual files in a folder named “Cookies”, often found in the “Documents and Settings” folder, If you use Mozilla Firefox, your cookies are stored in a text file named “cookies”, often found in the “Firefox/Profiles” folder.
- Security. If a cookie was stored on a web site, then it can be accessed by anyone with access to that web site. However, when the cookie is stored on your computer, then it can’t be accessed by hackers that break into the web site.
- Privacy. If a cookie was stored on a web site, then you would have to identify yourself somehow so the site would know which cookie to give you. But when the cookie is stored on your computer, then the web site simply uses whatever cookie it finds without requiring disclosure of your identity.