cookies & log files

19
Cookies & Log Files A Presentation By : Daryll Castelino

Upload: daryll-castelino

Post on 16-Aug-2015

119 views

Category:

Education


8 download

TRANSCRIPT

Page 1: Cookies & log files

Cookies & Log Files

A Presentation By : Daryll Castelino

Page 2: Cookies & log files

CONTENTS :

COOKIES :

A Brief Overview

Privacy

Limitations

Types

Uses

Page 3: Cookies & log files
Page 4: Cookies & log files
Page 5: Cookies & log files
Page 6: Cookies & log files
Page 7: Cookies & log files

A Brief Overview

A small piece of data stored in a text file. Stores a single piece of data under a unique id name. Stored in browser directory on your Hard Disk. Customizes webpages according to the user. Saves precious time. Browser dependent. Enhances browsing experience.

Page 8: Cookies & log files

Privacy

Cookies can only be read by the site that created them, or a site 'underneath' the site that created them. This prevents other websites from stealing cookies.

Page 9: Cookies & log files

Cookies

Sessions

Persistent First-Party

Third-Party

Page 10: Cookies & log files

Session Cookie :

Temporary. Deleted as soon as browser is closed. More secure and more reliable. Store items for short period of time. Mainly used to store items in shopping cart on your e-commerce websites

Page 11: Cookies & log files

Persistent Cookie :

Permanent till some extent. Longer life compared to session cookies. Has an expiration date. Life can range from a few days to several

years

Page 12: Cookies & log files

First – Party Cookie :

Cookies of the site you’re currently visiting. Allowed by default on all browsers.

Third – Party Cookie : Cookies other than first-party cookies. Generates custom ads on your current webpage. Tracks your surfing habits.

Page 13: Cookies & log files

On Internet Explorer :

Program files Internet Explorer Cookies.txt

On Netscape Navigator :

Program files Netscape Navigator Cookies.txt

On Opera Mini :

Program files Opera Mini Cookies.dat

Page 14: Cookies & log files

Limitations

The cookie specification introduced by Netscape also places limits on cookies. These limits are:

– 310 total cookies. – 4 kilobytes per cookie– 20 cookies per server or domain.

Page 15: Cookies & log files

Uses

On e-commerce websites. Login details on user demand. Preferred language selection. Recently viewed stock quotes.

Page 16: Cookies & log files

Security Issues

Network Eavesdropping.

Poor encryption.

DNS cache poisoning.

Page 17: Cookies & log files

Log Files

Records events or software runs. Creates audit trials which helps to diagnose

certain problems Essentially used on server applications. Records requests by client to server. Helps in recovering from transaction failures. Generally stored on disks and are frequently

backed-up. Much briefer than cookies.

Page 18: Cookies & log files

< Syntax >

[start_transaction,T]

[write_item,T,X,old_value,new_value]

[read_item,T,X]

[commit,T]

[abort,T]

Page 19: Cookies & log files

Questions ???