Presentation on Internet Cookies

Post on 13-Feb-2017

1.592 views 1 download

Transcript of Presentation on Internet Cookies

Internet Cookies

'Internet Cookies' A cookie, also known as an HTTP cookie, web

cookie, or browser cookie.

What is an 'Internet Cookies' ? A cookie is a TEXT object send by web server

to a browser or on your hard drive. The main purpose of a cookie is to identify

users and remember stateful information (such as items in a shopping cart) or to save site login information for you

WHO CAN SEE THE COOKIES?

Only the server that put the cookie on your hard drive.

Larger sites can set a domain attribute for other servers in the same sub domain

What Do 'Cookies Look Like' ?

eg. google.com/search

Where does the term "Cookie" come from?

Cookies for the internet were originally developed in 1995 by the Netscape Communications Corporation. The word "cookie" comes from "magic cookie,"

A computer science term for a piece of information shared between co-operating pieces of software. So where does "magic cookie" come from? Some say it comes from the computer games of the late 80's & early 90's. Eating Magic Cookies in the game would give the player special powers

Types Of Cookies

1.Session Cookies: Stored in memoryValid for one session.One session means time between opening and closing of your browser.As the browser store in memory this cookies also stored in memory. As the browser goes out of memory the cookies also deleted.

2. Persistent Cookies: Stored in hard drive They are Stored for more than one browser

session. Hence they are stored in hard drive. Persistent cookies stay with your browser even

after you've exited it. The next time you open your browser and access

the website that placed the cookie on your browser, it will find the cookie still there.

They are actually very helpful.

3. Secure Https: They are only useful when you are transferring

data via https (secure) protocol. Used for secure transmission of information.

Like bank transaction. Ensuring that the cookie is always encrypted

when transmitting from client to server. This makes the cookie less likely to be exposed

to cookie theft.

4. Http Only

Can be used only via HTTP protocol. Restrict acces from other non-HTTP APIs. Suppose I have a http only cookies so it can not

be accesed by non http script like java script. They are much more secure than other cookies.

6. Third Party Cookies

This cookies generate from first party. They just track you and expose your privacy. A Web site that is not the site you are visiting. For example, if the Web site you are on using

third-party advertising those third-party advertising Web sites may use a cookie to track your Web habits for marketing purposes.

Third Party Cookies

7. Super or Zombi Cookie

Most Dangerous cookies. Some cookies are automatically recreated after

a user has deleted them; these are called zombie cookies

Other Attributes Of Cookies

Name , Value , Expiry of the cookie Path , Domain the cookie is good for Need for a secure connection to use the

cookie Whether or not the cookie can be accessed

through other means than HTTP (i.e., JavaScript)

Uses

1. Session management: Cookies may be used to maintain data related to

the user during navigation, possibly across multiple visits.

Eg. You are buying online so it keep track of the things which you buy.

2. Personalize Keep track of your preferences on any website. Suppose Theme,Layout etc

3. Tracking Done by third party website. Track you moving one site to another. Or with in the website.

Hence the cookie get lots of data.

But here we have a solution A web server typically sends a cookie containing a

unique session identifier.

Limitations

Disadvantages

Delete Chrome Cookies

Cilck on the side bar in chrome. Now click on Settings option. In 'Privacy' click on Content Settings. Here you will found Cookies Section. Now

click on 'All Cookies site data'. You will found all the cookies stored in your

chrome. Now you can delete by your choice either one or all.

Delete Firefox Cookies

Please not there are some variations depending on your operating system and if you wish to delete a single cookie or all cookies from Firefox.

Step one At the top of the Firefox window, click on the

Firefox button (Tools menu in Windows XP) and then click Options.

Select the Privacy Panel and set the Firefox will: option to Use custom settings for history

Delete Firefox Cookies Conti..

Step two Now click on the button labelled Show Cookies…

and a the Cookies window will appear.

Step three In the Search: field, type the name of the site

whose cookies you want to remove. The cookies that match your search will be displayed. You can now select the cookie(s) in the list to be removed and click Remove Cookie button.

Thank You.....