SlideShare a Scribd company logo
1 of 19
Cookies & Log Files
A Presentation By : Daryll Castelino
CONTENTS :
COOKIES :
 A Brief Overview
 Privacy
 Limitations
 Types
 Uses
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.
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.
Cookies
Sessions
Persistent First-Party
Third-Party
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
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
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.
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
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.
Uses
 On e-commerce websites.
 Login details on user demand.
 Preferred language selection.
 Recently viewed stock quotes.
Security Issues
 Network Eavesdropping.
 Poor encryption.
 DNS cache poisoning.
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.
< Syntax >
 [start_transaction,T]
 [write_item,T,X,old_value,new_value]
 [read_item,T,X]
 [commit,T]
 [abort,T]
Questions ???

More Related Content

Similar to Cookies & log files

Cookies and sessions
Cookies and sessionsCookies and sessions
Cookies and sessions
Sukrit Gupta
 
Difference in session and cookie.pdf
Difference in session and cookie.pdfDifference in session and cookie.pdf
Difference in session and cookie.pdf
g1tech
 
What Are You Looking ForThe variety of operating systems, appli.docx
What Are You Looking ForThe variety of operating systems, appli.docxWhat Are You Looking ForThe variety of operating systems, appli.docx
What Are You Looking ForThe variety of operating systems, appli.docx
alanfhall8953
 
Cookie replay attack unit wise presentation
Cookie replay attack  unit wise presentationCookie replay attack  unit wise presentation
Cookie replay attack unit wise presentation
Nilu Desai
 

Similar to Cookies & log files (20)

Internet cookies
Internet cookiesInternet cookies
Internet cookies
 
Cookies and sessions
Cookies and sessionsCookies and sessions
Cookies and sessions
 
Internet cookies
Internet cookiesInternet cookies
Internet cookies
 
Web Browser-add ons.pptx
Web Browser-add ons.pptxWeb Browser-add ons.pptx
Web Browser-add ons.pptx
 
Enterprise java unit-2_chapter-2
Enterprise  java unit-2_chapter-2Enterprise  java unit-2_chapter-2
Enterprise java unit-2_chapter-2
 
Caching and Its Main Types
Caching and Its Main TypesCaching and Its Main Types
Caching and Its Main Types
 
Difference in session and cookie.pdf
Difference in session and cookie.pdfDifference in session and cookie.pdf
Difference in session and cookie.pdf
 
What Are You Looking ForThe variety of operating systems, appli.docx
What Are You Looking ForThe variety of operating systems, appli.docxWhat Are You Looking ForThe variety of operating systems, appli.docx
What Are You Looking ForThe variety of operating systems, appli.docx
 
E Commerce Analytics Demandware
E Commerce Analytics DemandwareE Commerce Analytics Demandware
E Commerce Analytics Demandware
 
Cookies and Session
Cookies and SessionCookies and Session
Cookies and Session
 
Caloosa Tech Times - November 2009
Caloosa Tech Times - November 2009Caloosa Tech Times - November 2009
Caloosa Tech Times - November 2009
 
Cookie testing
Cookie testingCookie testing
Cookie testing
 
Privacy in private browsing mode
Privacy in private browsing modePrivacy in private browsing mode
Privacy in private browsing mode
 
Sessions and cookies
Sessions and cookiesSessions and cookies
Sessions and cookies
 
Internet Cookies
Internet CookiesInternet Cookies
Internet Cookies
 
What Is Evercookie and Why You Should Avoid It for Privacy’s Sake
What Is Evercookie and Why You Should Avoid It for Privacy’s SakeWhat Is Evercookie and Why You Should Avoid It for Privacy’s Sake
What Is Evercookie and Why You Should Avoid It for Privacy’s Sake
 
Cloud Computing for Lawyers: Practical and Ethical Uses of the Cloud
Cloud Computing for Lawyers: Practical and Ethical Uses of the CloudCloud Computing for Lawyers: Practical and Ethical Uses of the Cloud
Cloud Computing for Lawyers: Practical and Ethical Uses of the Cloud
 
Cookie replay attack unit wise presentation
Cookie replay attack  unit wise presentationCookie replay attack  unit wise presentation
Cookie replay attack unit wise presentation
 
Mozilla firefox support phone number
Mozilla firefox support phone numberMozilla firefox support phone number
Mozilla firefox support phone number
 
Cookie
CookieCookie
Cookie
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 

Cookies & log files

  • 1. Cookies & Log Files A Presentation By : Daryll Castelino
  • 2. CONTENTS : COOKIES :  A Brief Overview  Privacy  Limitations  Types  Uses
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. 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.
  • 8. 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.
  • 10. 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
  • 11. 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
  • 12. 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.
  • 13. 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
  • 14. 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.
  • 15. Uses  On e-commerce websites.  Login details on user demand.  Preferred language selection.  Recently viewed stock quotes.
  • 16. Security Issues  Network Eavesdropping.  Poor encryption.  DNS cache poisoning.
  • 17. 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.
  • 18. < Syntax >  [start_transaction,T]  [write_item,T,X,old_value,new_value]  [read_item,T,X]  [commit,T]  [abort,T]