6/10/2015Cookies1 What are Cookies? 6/10/2015Cookies2 How did they do that?

Slides:



Advertisements
Similar presentations
Cookies, Sessions. Server Side Includes You can insert the content of one file into another file before the server executes it, with the require() function.
Advertisements

1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
Links and Comments.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Extras Plus! Pepper. Objectives extra knowledge Cookies Picture handling when creating site.
XP Tutorial 9 New Perspectives on JavaScript, Comprehensive1 Working with Cookies Managing Data in a Web Site Using JavaScript Cookies.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
Chapter 10 Maintaining State Information Using Cookies.
Cookies COEN 351 E-commerce Security. Client / Session Identification HTTP does not maintain state. State Information can be passed using: HTTP Headers.
The Internet & Web Browsers Business Webpage Design Kelly Seale.
11 SUPPORTING INTERNET EXPLORER IN WINDOWS XP Chapter 11.
 A cookie is a piece of text that a Web server can store on a user's hard disk.  Cookie data is simply name-value pairs stored on your hard disk by.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 48 How Internet Sites Can Invade Your Privacy.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Cookies & Sessions.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Adapted from Computer Concepts, New Perspectives, Thompson Course Technology EDW 647: The Internet Dr. Roger Webster & Dr. Nazli Mollah 24 Cookies: What.
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Working with Cookies Managing Data in a Web Site Using JavaScript Cookies* *Check and comply with the current legislation regarding handling cookies.
CSE 154 LECTURE 12: COOKIES. Including files: include include("filename"); PHP include("header.html"); include("shared-code.php"); PHP inserts the entire.
Tutorial 1: Browser Basics.
Web Programming Language Week 7 Dr. Ken Cosh Security, Sessions & Cookies.
The Internet TCIP/IP  TCP/IP stands for Transmission Control Protocol/Internet Protocol, which is a set of networking protocols that allows two or more.
Chapter 8 Cookies And Security JavaScript, Third Edition.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 1 1 Browser Basics Introduction to the Web and Web Browser Software Tutorial.
COOKIES. INTERNET COOKIES What are they Where are they found What should you do about them.
PHP1-1 PHP Lecture 2 Xingquan (Hill) Zhu
Protecting Students on the School Computer Network Enfield High School.
Cookies Web Browser and Server use HTTP protocol to communicate and HTTP is a stateless protocol. But for a commercial website it is required to maintain.
Cookies & Session Web Technology
11 1 Cookies CGI/Perl Programming By Diane Zak Objectives In this chapter, you will: Learn the difference between temporary and persistent cookies.
U.S. Department of Commerce Web Advisory Group Minding Your Own Business The Platform for Privacy Preferences Project.
COOKIES and SESSIONS. COOKIES A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each.
Web Metrics Terminology & Measurement. Visit A visit is a Web user with a unique address entering a Web site at some page for the first time that day.
A Little Bit About Cookies Fort Collins, CO Copyright © XTR Systems, LLC A Little Bit About Cookies Instructor: Joseph DiVerdi, Ph.D., M.B.A.
ASP.Net, Web Forms and Web Controls 1 Outline Session Tracking Cookies Session Tracking with HttpSessionState.
The Problem of State. We will look at… Sometimes web development is just plain weird! Internet / World Wide Web Aspects of their operation The role of.
Saving State on the WWW. The Issue  Connections on the WWW are stateless  Every time a link is followed is like the first time to the server — it has.
Cookies COEN 351 E-commerce Security. Client / Session Identification HTTP Headers Client IP Address HTTP User Login FAT URLs Cookies.
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
Cookies By: Kendra Alvarez. Concepts of Cookies Cookies are pieces of information generated by a Web server and stored in the user's computer, ready for.
SESSIONS 27/2/12 Lecture 8. ? Operator Similar to the if statement but returns a value derived from one of two expressions by a colon. Syntax: (expression)
Computer-made Cookies Presented by Helal Lutfi. What is a Computer Cookie?  A small text file which contains a unique ID tag.  Placed on your computer.
Unit-6 Handling Sessions and Cookies. Concept of Session Session values are store in server side not in user’s machine. A session is available as long.
Sessions and cookies (part 2) MIS 3501, Fall 2015 Brad N Greenwood, PhD Department of MIS Fox School of Business Temple University 11/19/2015.
COOKIES Gloria Soria Network Security COSC 356. What is a Cookie? A cookie is a piece of text that a Web Server can store on a user's hard disk. Cookies.
Top Ten Ways to Protect Privacy Online -Abdul M. Look for privacy policies on Web Sites  Web sites can collect a lot of information about your visit.
11 SUPPORTING INTERNET EXPLORER IN WINDOWS XP Chapter 11.
Some from Chapter 11.9 – “Web” 4 th edition and SY306 Web and Databases for Cyber Operations Cookies and.
CS 115: COMPUTING FOR THE SOCIO-TECHNO WEB TECHNOLOGIES FOR PRIVATE (AND NOT-SO-PRIVATE) COMMUNICATIONS.
CSE 154 Lecture 20: Cookies.
NetApp Online Ordering User Tutorial
Warm Handshake with Websites, Servers and Web Servers:
Evolution of Internet.
Chapter 19 PHP Part III Credits: Parts of the slides are based on slides created by textbook authors, P.J. Deitel and H. M. Deitel by Prentice Hall ©
COOKIES.
Web Programming Language
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Configuring Internet-related services
CSc 337 Lecture 27: Cookies.
Web Programming Language
CSc 337 Lecture 25: Cookies.
Presentation transcript:

6/10/2015Cookies1 What are Cookies?

6/10/2015Cookies2 How did they do that?

6/10/2015Cookies3 Sites that know you...  Just a few common examples:  my.yahoo.com   Each time I return to these sites, they remember who I am.  Yahoo remembers my news, bookmarks, etc.  Amazon.com remembers what books I have browsed and makes recommendations.  How do they do that?

6/10/2015Cookies4 What is a Cookie?  Small piece of data generated by a web server, stored on the client’s hard drive.  Controversial, as it enables web sites to track web users and their habits (more later…)

6/10/2015Cookies5 Tracking Unique Visitors  Step 1: Person A requests home page for amazon.com  Step 2: amazon.com Web Server generates a new unique ID.  Step 3: Server returns home page plus a cookie set to the unique ID.  Step 4: Each time Person A returns to amazon.com, the browser automatically sends the cookie along with web page requested.

6/10/2015Cookies6 Cookie Conversation Browser Server Give me the home page! Here’s the home page plus a cookie. Now, give me the news page (cookie is sent automatically) I’ve seen you before… Here’s the news page.

6/10/2015Cookies7 Cookie Notes  Created in 1994 for Netscape 1.1  Cookies cannot be larger than 4K  No domain (netscape.com, microsoft.com) can have more than 20 cookies.  Cookies stay on your machine until:  they automatically expire  they are explicitly deleted  Cookies work the same on all browsers. No cross-browser problems here!

6/10/2015Cookies8 Magical Cookies  The term cookie comes from an old programming hack, called Magical Cookies.  If a programmer couldn’t make two parts of a program communicate, she would create a “magical cookie”, a small text file containing data to transfer between program parts.

6/10/2015Cookies9 Why use Cookies?  Tracking unique visitors  Creating personalized web sites  Shopping Carts  Tracking users across your site:  e.g. do users that visit your sports news page also visit your sports store?

6/10/2015Cookies10 Cookie Anatomy

6/10/2015Cookies11 Cookie Anatomy  Version 0 specifies six cookie parts:  Name  Domain  Path  Expires  Secure

6/10/2015Cookies12 Managing Cookies

6/10/2015Cookies13 In Netscape 4.0 and above  Netscape provides several cookie options  Accept all cookies  Accept only cookies that get sent back to the originating server (used to block third party ads)  Disable cookies  Warn me before accepting a cookie.  Menu Tab: Edit -> Preferences -> Advanced

6/10/2015Cookies14

6/10/2015Cookies15 In Internet Explorer  Provides several options:  Prompt before accepting cookies  Disable all cookie use  Always accept cookies  IE 5.0:  Menu: Tools -> Internet Options -> Security -> Custom Level

6/10/2015Cookies16

6/10/2015Cookies17 Netscape Cookie Files  Netscape stores all cookies within a cookies.txt file.  Columns:  Domain name  HTTP Header:  TRUE: cookie was set by an HTTP header  FALSE: cookie was set by JavaScript  Path  Secure  Name  Value  Let’s take a look...

6/10/2015Cookies18 IE Cookie Files  Cookie files are stored within a cookies directory under windows: C:\windows\cookies  Each cookie gets its own name.  Let’s take a look...

6/10/2015Cookies19 Cookie Block Software  Cookie Central has pointers to lots of cookie blocking software.  Cookie Pal  Cookie Crusher  Cookie Cruncher  etc.

6/10/2015Cookies20 Privacy  Lets look at this website that provide informmation such as address, phone, , and more:   Yahoo: Yahoo:  name.php?ReportType=8& name.php?ReportType=8&