Everything you ever wanted to know about Cookies! (computer cookies…)

by techtiptom

Originally posted to wibc.com on 04/23/2012

More cool info submitted by a listener!!

When I first became exposed to the Internet and Web Surfing, I hated Cookies as I was afraid of what they might do or learn about me. The facts set me free of that fear and now I embrace them when I’m surfing as I know the person who uses it has made a decision to serve me better!


What is a Cookie?

A cookie is a text file. That’s all. Website designers will use cookies for a variety of reasons. If you go to a website that allows you to customize a page so that it looks the same every time you visit it, the designer will store these pieces of design information in a Cookie.

If you become a member or some site that wants to make you navigation easy, they will store your membership info in a Cookie so that you are instantly recognized when you visit the site.

Controlled access can be achieved via a Cookie so that you can’t view pages unless you have signed in with a UserID and Password. Usually these cookies expire after you leave the site.

There are many ways a cookie can be used, from simply seeing what pages you visit to allowing you to use an on-line shopping cart! Many people balk at the thought of someone seeing what pages of their website you visit. The consideration most people don’t stop for here is that it is the Designers website, why shouldn’t he be able to tell what you visit? That way he can improve content on popular pages and remove or enhance un-popular pages.

How Cookies work.

A Cookie is a text file. That’s it. It can be created via a Perl script, Javascript, Active Server Pages etc. A Cookie is text information that is transferred from the server to your Browser via the HTTP protocol and then stored on your hard drive. It is not an executable file, it is not some nefarious info sniffer from Techno-World, it is only a text file.

If a site uses a Cookie then every time you visit that site, if the browser has a Cookie stored on it, it transfers that Cookie to that site. The program on the site using the Cookie then access the information and acts upon it.

It is important to understand here that a Cookie will only be transferred to the site that created it. Part of the Cookie is the domain name of the site that created it as well as the path to the program that access it. Unless the domain and path match exactly as they were set, the Cookie IS NOT TRANSFERED! There is no way for someone from one site to see the contents of the Cookie from another site. It’s just mechanically not possible.

Are Cookies dangerous?

NO! As I said, it is a text file and that is all. It is not an executable and can’t do anything to your computer!

 What information does a Cookie collect from you?

NOTHING!!! A Cookie collects no information whatsoever. The only information in a Cookie is information from the website designer or information that you have entered into a CGI/Javascript form. Information that you enter can be placed in a Cookie, the Cookie doesn’t get the information on its own. It is mechanically impossible for a Cookie to get ANY information from your computer. That’s like saying the notebook on your night table is collecting information about you while you are asleep.

What information can a Cookie get from my computer?

NOTHING!!! As I said, a Cookie is a text file, plain and simple. It is not an executable program that can be run therefore it cannot gather information.

Can a Cookie give my computer a virus?

NO!!! Cookies are not executable’s. For something to pass on a virus, you must first execute a program or applet. You cannot get a virus from a text file. Just like you can’t get a cold from watching a winter scene on television!

Can a Cookie delete my hard drive?

NO!!! Cookies cannot delete your hard drive. Cookies are text files only and are not executable, therefore they cannot do anything to your computer!

Can I refuse to accept a Cookie?

Yes. Older brwosers accepted Cookies automatically. Internet Explorer, FireFox, Netscape, Chrome, etc; all allow you to accept or reject Cookies. These browsers will allow you to always accept Cookies, choose to accept or reject Cookies or never accept Cookies. Check the “Help” for instructions.

What happens if I refuse to accept a Cookie?

The site designer calls the F.B.I. who call the S.W.A.T. team…..

Just kidding! Nothing happens if you refuse to accept a Cookie. Refusing to accept a Cookie will only, at worst, make your surfing less personalized.

If you refuse a Cookie from a site which you registered as a member of, refusing a Cookie may mean that you can’t access the site.

Who can see my Cookies?

When a Cookie is transferred to your browser, part of its content is the domain name of the server that placed it there. Another part of the Cookie data is the path to the program that placed the Cookie.

When you visit a site that checks for Cookies, the browser looks at the request and determines the name of the server and the path to the program. If a Cookie exists that has the same domain name and the same path then obviously that program is allowed to access that Cookie because it placed it there in the first place!

If the domain name and path do not match exactly, then the browser WILL NOT TRANSMIT THE COOKIE!!!. This means that, mechanically and logically, the Cookie will only be made available to an authorized program on the host server.

No one except an authorized person can see the Cookie therefore no one can look at or take information from another websites Cookie!

Can anything bad happen from Cookies?

From Cookies themselves? No!

As we have amply covered in this text, a Cookie cannot do anything bad to you or your computer. How the information is used, however, is something different. If there is any personal data stored in a Cookie, the only way it got there is because YOU provided it. If you fill out a form on a website and provide sensitive information such as your name, address, email, credit card number….then that data MIGHT be stored in a Cookie. Not always but sometimes….

Advertisements