Internet Cookies and Confidentiality

From Computing and Software Wiki

(Difference between revisions)
Jump to: navigation, search
Line 22: Line 22:
'''NAME=VALUE''' is always used  to identify the user. It assigns a unique identification number  
'''NAME=VALUE''' is always used  to identify the user. It assigns a unique identification number  
to each user so that the site can identify which settings belong to which users.  
to each user so that the site can identify which settings belong to which users.  
 +
'''EXPIRES=DATE''' is used to set the life time of the cookie. It can be set for one session only, a week, year or indefinetly.
'''EXPIRES=DATE''' is used to set the life time of the cookie. It can be set for one session only, a week, year or indefinetly.
 +
'''DOMAIN=DOMAIN_NAME''' this is set so that the browser can identify which cookie belongs to which sites. Sites can only access cookies with the same domain. Domains must contain two dots. For example '''.com''' is not acceptable since it does not have two dots, '''amazon.com''' would be acceptable, and any site that contains .amazon.com would access that cookie.
'''DOMAIN=DOMAIN_NAME''' this is set so that the browser can identify which cookie belongs to which sites. Sites can only access cookies with the same domain. Domains must contain two dots. For example '''.com''' is not acceptable since it does not have two dots, '''amazon.com''' would be acceptable, and any site that contains .amazon.com would access that cookie.
   
   

Revision as of 00:54, 10 December 2007

Contents

Internet Cookies and Confidentiality

Internet cookies or just cookies are small text files that are used by web site designers to enhance the browsing experience by enabling quick authentication, storing user prefernces, and tailoring sites for individual experience. Although cookies allow for a better browsing experience there is much misguided confusion and concern regarding internet cookies by the general public which will be addressed below. Internet cookies are not porgrams and cannot collect data, surfing tendencies debit or credit card information stored on a users computer. However there are a some confidentiality and privacy concerns regarding internet cookies that users should be aware of when browsing the internet.


Definition

An internet cookie is a text file that is placed on your hard drive by a web server when you access certain sites. These text files can contain data about your login informatoin, preferences, and keep track of current shopping carts. The text files only contain information that the user has given to the current site. Sites that do not share specific domains cannot share cookie information, collected or access another sites cookie.


Purpose

Cookies are used for serveral different purposes when creating a web site. They are used both by the site developers for keeping track of how many people visit the site, how many new versus repeat users are visiting the site and how ofter peopel visit the site. This informatoin allow owner and developers to monitor the susscess of their site or parts of their site. Cookies can also be used to enhance the users expeience as well. Cookes allow webstie to save specific user prefferences when they browse, such as page layouts, visual designs and favour sections. Cookies have also allowed sites to implement shopping carts which allow for e-commerce.


How It All Works

Name-Value Pair

Cookies are all stored using Name-Value Pairs. Name-Value pairs are simply named pieces of data. More specifically each paiec of data a website stores has the form identifier=value. Examples of this would be NAME=VALUE which would be a unique user id. Any kind of information can be stored in cookies but there is certain information that most cookies use:

NAME=VALUE is always used to identify the user. It assigns a unique identification number to each user so that the site can identify which settings belong to which users.

EXPIRES=DATE is used to set the life time of the cookie. It can be set for one session only, a week, year or indefinetly.

DOMAIN=DOMAIN_NAME this is set so that the browser can identify which cookie belongs to which sites. Sites can only access cookies with the same domain. Domains must contain two dots. For example .com is not acceptable since it does not have two dots, amazon.com would be acceptable, and any site that contains .amazon.com would access that cookie.

Interaction

Cookies are created by sites that users visit. When a user visits a website they first enter a URL into a browser. The browser then searches for any cookies that the corresponding website has set. If it finds a cookie for that website it then sends the request for the page to the sever along with the cookie. If no cookie is found the request for the page is sent without a cookie. The server then sends the request back to the browser for viewing. If the sever does not recieve a cookie the site knows that this is a first time viewer to the site and creates a cookie which is sends back to the user to store on the hard drive for future use. If a cookie is send the site will take the information in the cookie (usually a login) and applies it to the site.


Problems & Misconseptoins

=