Follow the Cookie Trail - Computerphile

Computerphile · Beginner ·🔧 Backend Engineering ·13y ago

Key Takeaways

The video discusses cookies, their role in enhancing user experience, and the controversy surrounding them, including the introduction of the EU's cookie law and the differences between first-party and third-party cookies.

Full Transcript

everyone's Heard lots about cookies um they're an interest it's a it's a funny term it's an interesting word um people see them and increasingly what you'll see is you'll see that little window pop up on websites in Europe which says we use cookies to enhance the user experience and please click that you accept this so why is that window there what's happened well cookies are great at enhancing the user experience and worth talking a little bit about what that means and but they're also obviously there is a little bit of a warning so are they good or are they bad let's start by what are they well the way in which underlying worldwide web works is that essentially it's a distributed system okay which means that there are places that hold information and there are things that ask for that information so your computer say which should look a little bit like this with you would would say please give me something it would respond and say here you go so if you imagine a page in on here that says hello the information for that page would come over here and would appear in your screen and we've done this lots of times some machine say in your house is asking a machine in Australia for this information the very first protocols the very first means by which this is has done took a very simple means of doing this what they decided was that they would be what's called stateless so this machine would simply say it's a new page here's a page here's a page what that meant for for you as a user would be if you went away came back had a cup of tea and then went to the exactly the same place and ask for the same information there would be no knowledge whatsoever about you having done it before which became a little bit silly so how then do you do the little shopping carts there's often a little a little shopping cart in the corner and as you go through and you buy things it puts things in the carart well how would you know that if you don't remember who's asked for the information and what they've asked about so that's what cookies are about the world now changes so let's now put a cookie in so imagine you you're on this page you say give me the page and you get the page with all the details but you also within that will have little tiny files called cookies cookies allow this machine to remember information about the last page it gave you which means as you purchase things they can be added to this and so that when you go away and come back that information is remembered so preference can be set you can decide things so layouts of things can be can be done which usn't to happen before so the whole thing from end to end gets called a session so it's no different than putting your shoes in to be repaired and the man gives you a ticket and then you go back and you use the ticket and you get the right pair of shoes back so this all sounds good this enhances everything but they have started to become really quite controversial as well the real issue about this actually you probably best have a think about a web page here many web pages that you go to give you information for free and have you ever wondered how people can do that why can you get something for nothing well what happens often and increasingly you'll see this is you'll see a web page has been a bit like this and then there'll be the content that you're looking at there okay so in my case this would be stuff about fball okay so I'd be looking up my favorite team's football scores but I'll notice all these scrolling ads around here the adverts are generating revenue for that page in order to do that and that's where cookies get controversial the example I've given you is what's called first party cookies when one party is given an information to another what actually happens here is rather interesting cuz you see in one page but actually what's happening happening is a range of things this could be the part where you're asking for this page and you're getting the content but all these adverts could be coming from completely different parts of the world and often are okay so these can all are all companies which are selling up the ad that means that the web page although it might be wwwmy favorite site.com all these other sites are also putting information into that page so this can enhance the experience by remembering Who You Are by putting a little file down all of these when they put the information down are also putting a cookie down so now all of these advertising agencies also remember that you've been on this page so these guys can start to talk to each other and then form an advertising Network which can start to remember your preferences and where you've been on the worldwide web this is basically known as tracking or cookie tracking these thirdparty cookies allow the advertisers to figure out have you seen this advert before and even to sequence a number of adverts so they can decide that some adverts and some things that people purchase they purchase after seeing a sequence of adverts and they can do that sequencing because they've remembered where those things are we probably do need to know just how much people know about where you browse how you browse and what your browsing purchases are because many many millions or billions of sessions can be analyzed so are you the person who browses in a particular way are you somebody who purchases things in a different way so all of these cookies allow little trails that can be knitted together and analyzed to understand your behavior and that's why the EU introduced as part of their privacy measures this thing called the cookie law and the cookie law said well you've got to inform people that you captured information about them and then allow them to opt out so those little screens that appear do that there are still problems here one of the problems here is the EU have legislated for this so this has been browsers in the EU if you try and go to the same sites you probably won't see those things okay but the interesting thing about those is it's either cookies off or it's cookies on many people talk about perhaps what you want to allow is one party cookies but not third party cookies as always with computers these things can all be done and even in the current systems you can do most of these they're very difficult to present to users and very difficult for users to find so so you will if you really want to dig down deep to be able to do this but it's not quite as obvious there's also quite a lot of scare stories about cookies cookies are not programs okay when cookies go into your machine they don't run as code so that means they can't really give you a virus which is be one of the dangers that people would have they can't um in and of themselves take over elements of your screen or even your webcam the worry everyone has though is the start of allowing all of that to happen without anybody noticing and there's been quite a lot of controversy about this and and people don't realize that so if I ask you the question do I'll ask you now so how many of these cookies and many third parties do you think they'd be on a site on one side on one on one page one site um I'm going to think you've simplified that but you've got three or four I say maybe um six or seven okay so so so the interesting thing is every one of those gives you a tiny amount of money

Original Description

Cookies are controversial and new laws governing them have been introduced in Europe. Extra footage: http://youtu.be/_d0G6FZ_kR4 Featuring Tom Rodden from the University of Nottingham's Department of Computer Science. http://bit.ly/nottscomputer Follow Computerphile... http://www.facebook.com/computerphile https://twitter.com/computer_phile Video by Sean Riley. Computerphile is a sister project to Brady Haran's Numberphile. See the full list of Brady's video projects at: http://periodicvideos.blogspot.co.uk/2012/06/here-are-my-channels.html
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Computerphile · Computerphile · 1 of 60

← Previous Next →
Follow the Cookie Trail - Computerphile
Follow the Cookie Trail - Computerphile
Computerphile
2 EXTRA BITS - Follow the Cookie Trail - Computerphile
EXTRA BITS - Follow the Cookie Trail - Computerphile
Computerphile
3 Musical Floppy Drives - Computerphile
Musical Floppy Drives - Computerphile
Computerphile
4 The Hair Algorithm - Computerphile
The Hair Algorithm - Computerphile
Computerphile
5 Getting Sorted & Big O Notation - Computerphile
Getting Sorted & Big O Notation - Computerphile
Computerphile
6 Quick Sort - Computerphile
Quick Sort - Computerphile
Computerphile
7 Hyper History and Cyber War - Computerphile
Hyper History and Cyber War - Computerphile
Computerphile
8 Entropy in Compression - Computerphile
Entropy in Compression - Computerphile
Computerphile
9 Original Elite on the BBC B - Computerphile
Original Elite on the BBC B - Computerphile
Computerphile
10 IP Addresses and the Internet - Computerphile
IP Addresses and the Internet - Computerphile
Computerphile
11 A Career in Video Games - Computerphile
A Career in Video Games - Computerphile
Computerphile
12 Error Detection and Flipping the Bits - Computerphile
Error Detection and Flipping the Bits - Computerphile
Computerphile
13 Programming BASIC and Sorting - Computerphile
Programming BASIC and Sorting - Computerphile
Computerphile
14 Birthplace of the World Wide Web - Computerphile
Birthplace of the World Wide Web - Computerphile
Computerphile
15 Punch Card Programming - Computerphile
Punch Card Programming - Computerphile
Computerphile
16 Programming Paradigms - Computerphile
Programming Paradigms - Computerphile
Computerphile
17 CERN Computing Centre (and mouse farm) - Computerphile
CERN Computing Centre (and mouse farm) - Computerphile
Computerphile
18 Error Correction - Computerphile
Error Correction - Computerphile
Computerphile
19 Home-Made Code - Computerphile
Home-Made Code - Computerphile
Computerphile
20 Security of Data on Disk - Computerphile
Security of Data on Disk - Computerphile
Computerphile
21 Gesture Controls - Computerphile
Gesture Controls - Computerphile
Computerphile
22 How Intelligent is Artificial Intelligence? - Computerphile
How Intelligent is Artificial Intelligence? - Computerphile
Computerphile
23 Encryption and Security Agencies - Computerphile
Encryption and Security Agencies - Computerphile
Computerphile
24 Virtual Machines Power the Cloud - Computerphile
Virtual Machines Power the Cloud - Computerphile
Computerphile
25 Hacking Websites with SQL Injection - Computerphile
Hacking Websites with SQL Injection - Computerphile
Computerphile
26 How Huffman Trees Work - Computerphile
How Huffman Trees Work - Computerphile
Computerphile
27 Cracking Websites with Cross Site Scripting - Computerphile
Cracking Websites with Cross Site Scripting - Computerphile
Computerphile
28 Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Computerphile
29 Texting Cabbage with a Recorder - Computerphile
Texting Cabbage with a Recorder - Computerphile
Computerphile
30 Hashing Algorithms and Security - Computerphile
Hashing Algorithms and Security - Computerphile
Computerphile
31 How YouTube Works - Computerphile
How YouTube Works - Computerphile
Computerphile
32 How NOT to Store Passwords! - Computerphile
How NOT to Store Passwords! - Computerphile
Computerphile
33 A New Golden Age of Video Games - Computerphile
A New Golden Age of Video Games - Computerphile
Computerphile
34 A Universe of Triangles - Computerphile
A Universe of Triangles - Computerphile
Computerphile
35 Cross Site Request Forgery - Computerphile
Cross Site Request Forgery - Computerphile
Computerphile
36 The True Power of the Matrix (Transformations in Graphics) - Computerphile
The True Power of the Matrix (Transformations in Graphics) - Computerphile
Computerphile
37 The Great 202 Jailbreak - Computerphile
The Great 202 Jailbreak - Computerphile
Computerphile
38 EXTRA BITS - Printing and Typesetting History - Computerphile
EXTRA BITS - Printing and Typesetting History - Computerphile
Computerphile
39 Triangles to Pixels - Computerphile
Triangles to Pixels - Computerphile
Computerphile
40 The Problem with Time & Timezones - Computerphile
The Problem with Time & Timezones - Computerphile
Computerphile
41 The Visibility Problem - Computerphile
The Visibility Problem - Computerphile
Computerphile
42 Lights and Shadows in Graphics - Computerphile
Lights and Shadows in Graphics - Computerphile
Computerphile
43 The Penguin Barcode - Computerphile
The Penguin Barcode - Computerphile
Computerphile
44 Typesetters in the '80s - Computerphile
Typesetters in the '80s - Computerphile
Computerphile
45 The Font Magicians - Computerphile
The Font Magicians - Computerphile
Computerphile
46 The Little Mac with the Big Bite - Computerphile
The Little Mac with the Big Bite - Computerphile
Computerphile
47 EXTRA BITS - More on the Original Mac at 30 - Computerphile
EXTRA BITS - More on the Original Mac at 30 - Computerphile
Computerphile
48 XP to Ubuntu with an 8yr old Hacktop - Computerphile
XP to Ubuntu with an 8yr old Hacktop - Computerphile
Computerphile
49 EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
Computerphile
50 EXTRA BITS - Making a Bootable USB in Linux - Computerphile
EXTRA BITS - Making a Bootable USB in Linux - Computerphile
Computerphile
51 EXTRA BITS - Installing Ubuntu Permanently - Computerphile
EXTRA BITS - Installing Ubuntu Permanently - Computerphile
Computerphile
52 The Dawn of Desktop Publishing - Computerphile
The Dawn of Desktop Publishing - Computerphile
Computerphile
53 What is Bootstrapping? - Computerphile
What is Bootstrapping? - Computerphile
Computerphile
54 Reverse Polish Notation and The Stack - Computerphile
Reverse Polish Notation and The Stack - Computerphile
Computerphile
55 Home-Made Z80 Retro Computer - Computerphile
Home-Made Z80 Retro Computer - Computerphile
Computerphile
56 Should Everybody Learn to Code? - Computerphile
Should Everybody Learn to Code? - Computerphile
Computerphile
57 Programming in PostScript - Computerphile
Programming in PostScript - Computerphile
Computerphile
58 Heartbleed, Running the Code - Computerphile
Heartbleed, Running the Code - Computerphile
Computerphile
59 YouTube's Secret Algorithm - Computerphile
YouTube's Secret Algorithm - Computerphile
Computerphile
60 YouTube Search & Discovery - Computerphile
YouTube Search & Discovery - Computerphile
Computerphile

The video explains the role of cookies in enhancing user experience and the controversy surrounding their use in tracking user behavior and collecting data. It discusses the differences between first-party and third-party cookies and the introduction of the EU's cookie law.

Key Takeaways
  1. Understand how cookies work and their role in web development
  2. Learn about the differences between first-party and third-party cookies
  3. Understand how cookies are used to track user behavior and collect data
  4. Learn about the EU's cookie law and its impact on online privacy
  5. Configure browser settings to manage cookies and protect online privacy
💡 Cookies are not just harmless text files, but can be used to track user behavior and collect data, raising concerns about online privacy and data protection.

Related AI Lessons

Up next
This Cop Was Held Accountable For His Brutality! #police #lawyer
Hampton Law
Watch →