Note: My Web pages are best viewed with style sheets enabled. |
Unrated |
None of my Web pages set or use cookies. However, these pages do contain links to Web sites beyond my control, many of which do set and use cookies.
A cookie is a small package of data describing your Web-surfing activities. When you request a Web page, you send a message to the page's Web server. The server returns the files needed by your browser client to display the page. Before those files are sent, however, the server sends some header messages describing those files. Those messages might include a cookie, which contains the following data:
The cookie
.netscape.com TRUE / FALSE 946684799 NETSCAPE_ID 100103is interpreted as follows:
| Field | Example | Explanation |
|---|---|---|
| domain | .netscape.com | Because the specified domain begins with a period, the cookie applies to all domains with any prefix and this ending (e.g., www.netscape.com, help.netscape.com). |
| flag | TRUE | All cookies with domains beginning with a period have TRUE, and all cookies with complete domain specifications (not beginning with a period) have FALSE. This aids in interpreting the domain. |
| path | / | Here, the virgule (/) indicates that the cookie applies to all files in the domain. If the path were /working, then the cookie would apply only to Web pages in the directory named working. If the path were /internet/cookies.html, then the cookie would apply only to the Web page in that specific file. |
| secure | FALSE | The cookie may be used with unsecured Web pages. TRUE would restrict the cookie to only secure pages. |
| expiration | 946684799 | The cookie expired on 31 December 1979 (946684799 seconds from 1 January 1970 00:00:00 UTC). |
| name | NETSCAPE_ID | The name of this cookie. |
| value | 100103 | The value associated with NETSCAPE_ID. |
Notice that a cookie does not contain any executable software, just data. The next time you request a Web page for which you already have a cookie, the IDs and their associated values are included in the request message you send to the page's Web server. Thus, the Web server can track your accesses to specific Web pages.
Although a Web page can only set a cookie for its own domain, a Web page can cause cookies to be set for other domains. If a page requests images or other files from other domains, the Web servers for those domains can then set cookies. Thus, visiting a news site that displays advertisements from other sites can set cookies for a number of different domains.
While many cookies are written into your cookies file on your computer's hard drive (cookies.txt on a PC), some cookies are intended for memory only. These are erased when you exit your Web browser application.
In general, a cookie tracks your request for a Web page and what you do as a result of browsing that page.
I am quite sure you can see other uses for cookies. On the other hand, there are a number of things a cookie cannot do.
However, see GeoCities and Yahoo below on how cross-domain cookies can indeed occur and how your E-mail address or other personal information can be compromised.
You might not be concerned if a supermarket, gas station, public library, or drug store records how many times you enter their facility. But would you be concerned about someone keeping track of how many times you went into a liquor store? If you are a man, would you want someone else to have a record not only of how many times you went into a drug store but also of how many times you bought an ointment for "jock itch" or condoms (and what brands)? If you are a woman, would you want a record of what brand of pregnancy test you bought for cash, especially when your husband had a vasectomy five years ago?
Using cookies to identify you, Web sites can indeed maintain such records. With dial-up Internet connections, they might not be able to correlate their records with your actual identity, but they can identify the ISP and even the POP through which you connected to the Internet. With dedicated connections (e.g., DSL, cable modem), your actual identity can be determined. Even with a dial-up connection, if you input any identifying information on a Web form, that information can easily be tied to a cookie. Thus, the owner of a Web site can accumulate a profile about your Web-surfing activities and even connect that profile to an actual person — YOU. This is an issue of privacy and controlling information about how you live your own life.
First of all, do not set your Web browser to reject or disable cookies. As described above, some memory-only cookies are needed to navigate through complicated Web pages or to use secure Web pages. Often, Web pages that write cookies will not load if you reject cookies. Also, do not set your Web browser to warn you about cookies. You will soon become very annoyed at having to respond to each cookie.
The best solution is to find your cookies file — named cookies.txt on PCs — and set the properties to read-only. Web pages will then think they are setting cookies, but the entries will disappear when you exit your browser. Each time you request an affected Web page, it will be as if you are a first-time visitor. In the meantime, memory-only cookies will not be affected. Indeed, all cookies will then become memory-only, erased when you exit your Web browser. Even then, you might consider exiting and then restarting your browser after sending personal information on a Web form. That way, you have also limited the accumulation of data from memory-only cookies.
To summarize:
This should prove effective in defeating even DoubleClick's tracking of who views its advertisements across unrelated Web sites.
But what about the cookies that you want? You do get stock quotes from YeeHaw and you frequently request technical help from various software developers. In this case, you should do the following:
The next time you request that Web site, its cookies will be sent with the request. You can leave the cookies file read-only until you need a new or replacement cookie written there. (Remember, cookies do have expiration dates, although some expire only after many years.)
Newer browsers contain cookie managers. I use SeaMonkey, whose cookie manager has the following features:
These features are generally found in Gecko-based browsers, including Firefox and Camino.
Be aware that software other than Web browsers might set cookies, too. For example, RealPlayer sets cookies according to the streaming broadcasts you receive and the advertisements those broadcasts contain. It uses a cookies.txt file that is located in its own directory. While RealPlayer does have an option to suppress the use of cookies, I also set the file to read-only.
Other software may also establish cookies files. The files might not even be named cookies.txt. In some cases, it appears that the files are related to "live update" capabilities that automatically download and install upgrades to the software setting the cookies. (Both for security reasons and also because I want to maintain a log of all updates, I always disable automatic updates.)
I like the stock quotations available through Yahoo. Because I generally want quotes for a specific list of stocks and I don't want to bother remembering and inputting that list every time, I created a personal Yahoo profile and a "portfolio" (a list of stocks). Privacy issues did not concern me because I do not own all the stocks in the portfolio and because I did not enter any specific information about those stocks that I do own (e.g.: numbers of shares, purchase prices). Thus, personal information about my finances would not really be exposed.
Creating my profile and portfolio involved establishing an ID and password. Since I was not concerned about privacy, I allowed cookies to be set so that I would not have to enter the ID and password every time I wanted to see the current quotes for the stocks that interest me. The cookies had expiration dates. I also provided some personal identifying data to Yahoo: my real name, E-mail address, community, and ZIP code. (But I declined to give my street address or phone number.)
One of my hobbies is surfing the Internet. Occasionally, this leads me into personal Web sites created by various individuals at GeoCities. While some of those sites are quite interesting, they can also be "unusual" or "non-standard" to the extent that I really do not want anyone else to know I browse them. I am not concerned about anyone capturing my IP address while I surf Web sites at GeoCities; I have a dial-up Internet connection that gives me a different IP address every time I connect.
Yahoo bought GeoCities in 1999, after which I discovered a serious privacy problem. When my Yahoo cookies expired at the end of that year, the new cookies specified domains as .yahoo.com. This means they would be retrieved not only for finance.yahoo.com but also for www.yahoo.com and any other domain ending in .yahoo.com. In the meantime, the GeoCities server inserted code into its Web pages that caused banners or other Web fragments to be retrieved from Yahoo. In combination with the generalized Yahoo cookie domain, this means that every time I accessed a GeoCities Web site, my Yahoo profile was exposed. This profile contains all the personal data I supplied when I created my profile and portfolio for checking stock prices, contravening my desire to surf GeoCities Web sites anonymously. Although the owners of the GeoCities Web sites might not have access to my profile, Yahoo indeed had such access and could thus track my Web browsing habits.
I would not have discovered this problem if I had not seen my Yahoo ID appear in a welcoming message at the top of a GeoCities Web page. I immediately shut down my browser, opened my cookies.txt file in Wordpad, and deleted all Yahoo entries. Now, whenever I get a stock quote, not only do I have to enter my ID and password, but I also have to remember to sign out. Then, before I surf any Web sites hosted by GeoCities, I shut down Netscape and then restart it to purge any .yahoo.com cookies remaining in memory.
More information about cookies — including technical details about their structure — is available from the following links:
Information about other links is always welcome.
Last updated 15 August 2008
![]() "Internet" Table of Contents |
![]() David Ross home |
![]() |