Quantcast
Jump to content


Recommended Posts

Posted

2021-05-18-01-banner.jpg

Photo by Julissa Capdevilla on Unsplash

An Introduction to Cookies

Internet users are becoming cognisant of the ways we’re being followed and tracked online, the ways our behaviour is being analysed and data sold on to line the pockets of a the ad industry. Over the last few years, the news has been filled with debate about who truly owns our data, who can use it and how can they use it. While the law is typically quite behind on tech matters, there have been a few laws that have arisen that aim to protect users (e.g GDPR, LGPD, CCPA, etc) however, some are really complicated to understand, and others only really deal with internet users in the context of capitalism (as consumers or advertiser/seller). Ultimately though, these laws are hindered by national boarders, GDPR is only relevant for users in the European Union, CCPA only applicable to Californian users, etc.

Tech workers aren’t ignorant to these issues, tracking has been happening for decades and as it becomes more egregious, there is pressure for tech workers to do something. In October 2020, the Technical Architecture Group at W3C (the main international standards organisation for the web) published the Ethical Web Principles. Standards play a big role in dictating how the web and associated web technologies are used and implemented and the list acts as a bare minimum requirement for web standards to meet, the list includes:

Security and privacy are essential
We will write specs and build platforms in line with our responsibility to our users, knowing that we are making decisions that change their ability to protect their personal data. This data includes their conversations, their financial transactions and how they live their lives. We will start by creating web technologies that create as few risks as possible, and will make sure our users understand what they are risking in using our services.

This is the most pertinent to online tracking technology (although so many more points in the list are applicable) and will be crucial for any new standards to meet.

In this series I want to delve into some of the standards which are being discussed for proposals in the W3C Privacy Community Group and demystify a lot of what’s being discussed. My hope is that we will all be more informed and encouraged to participate in the broader discussion.

HTTP Cookies

Before I go into detail about the new standards, it’s good to understand the current landscape and the foundation for a lot of the discussion, and cookies make up a considerable amount of that foundation.

What is a Cookie?

Over the last few years, we’ve seen an influx of cookie notices on websites and web apps. Some request permission to use cookies (usually if they’re using third part cookies) while others just inform the user that cookies are being used, and while we all know they’re not the edible kind, we may not all know exactly what they are.

1*u8-cyuI2vqgVIR8bTtnYdw.png

the inkey list and uber eats websites both with cookie noticesthe inkey list and uber eats websites both with cookie notices

HTTP Cookies are a type of data store on the browser, to put it succinctly. They allow websites to collect almost any data they want about the user so that they can tailor the user experience &/or analyse data about who is using their site. For example, here is some of the information Twitter is collecting about me in a cookie:

"dnt=1;
remember_checked_on=1;
lang=en;
eu_cn=1;
night_mode=2;
ads_prefs="******"; 
twid=********;"

Twitter are storing my advertising preference, my twitter ID, what theme I’m using (night mode), my language, if I have Do Not Track enabled, and if I set remember me when I signed in. These are pretty harmless and are used to make my user experience as seamless as possible. It’d be pretty annoying to have to set dark mode every time I logged in or to sign in after I’ve asked to be remembered. You can clear cookies in your browser settings but even if you don’t all cookies (with the exception of Session Cookies — more on those later) have an expiration date, although they tend to be very far into the future.

As seen above, cookies are a collection of key-value pairs. So setting a cookie means assigning a key and a value in a HTTP header:

Set-Cookie: `darkmode=1; Expires="Wed,12 May,2021 00:00:00 UTC"`

Session Cookies

As I mentioned earlier, session cookies don’t have expiration dates, this is how they’re distinguished from other cookies and also what makes them temporary. They last for as long as the browser is active, once the user quits the browser, session cookies will be deleted.

Third Party Cookies

These are the cookies that are responsible for a lot of the tracking complaints we have especially those related to ads. Typically cookies are first party, which means the domain key on the cookie matches the domain in the browser’s address bar.

Going back to the Twitter example, when I inspect the cookies, I see the following output:

List of cookie domains for twitter.comList of cookie domains for twitter.com

As you can see, the only domain listed is https://twitter.com, and since this is the same as the domain in the address bar, this cookie is a first-party cookie.

A third-party cookie would have a different domain to what is in the address bar, which is how ads can do cross-site tracking. Doing the same thing on a popular gossip site produces a very different result:

List of cookie domains for mtonews.comList of cookie domains for mtonews.com

In this case, the first domain mtonews.com is a first-party cookie since that’s the domain in the address bar. However, there are a list of other domains which all have cookies on mtonews.com, they’re all third-party cookies. These cookies work by building a (sort-of) profile of you based on the sites you visit, in this case we’ve visited mtonews.com which has cookies belonging to ads.pubmatic.com. If we went to anothergossipsite.com which also had a cookie from ads.pubmatic.com both of the cookies from mtonews & anothergossipsite would be sent to ads.pubmatic.com’s servers which would allow them to create a browsing history of the site’s we’ve been to with an ads.pubmatic.com cookie on them. This is typically how cookies are used to track user behaviour.

Final Thoughts

There are other types of cookie, such as the Zombie cookie 🧟‍♀ which gets regenerated after it’s been deleted or the Http-only cookie which can only be accessed via JavaScript, but for this series I wanted to give a brief explainer. The privacy web landscape is changing (for example third-party cookies are being retired) and in order to understand the direction we’re moving in, we should understand a little of where we’re coming from. This post is the first in a series of explainers that will cover what’s happening in the web standards world when it comes to web privacy. Feel free to follow what’s happening by checking out what’s on the table in the W3C Privacy Community Group on their GitHub or by having a look through the meeting minutes.

Further Reading

View the full blog at its source



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Similar Topics

    • By Samsung Newsroom
      The Samsung Developer Conference 2024 (SDC24) kicked off on October 3 at the San Jose McEnery Convention Center in San Jose, California. SDC24 attendees engaged in intellectual exchange with one another and shared their visions for enhancing the lives and experiences of users.
       
      Samsung Newsroom captured some highlights from the event, which brought together developers and Samsung Electronics partners from around the world.
       
       
      Exploring Samsung’s AI Roadmap at Tech Session
      Tech Session at SDC24 became a platform for Samsung executives and employees to present the current state and future vision of Samsung’s AI innovations. This year, Tech Session was divided into five themes — Device AI, SmartThings, Responsible AI, Advanced Tech and Enterprise & Ecosystem. Each theme highlighted AI innovations spanning the entire product line including Galaxy AI, AI TVs and Bespoke AI appliances as well as the platforms that power these AI products. Discussions also touched on establishing a blueprint for enhanced security technologies.
       

       

       
      Among the innovations discussed that captivated attendees were the AI capabilities of Samsung TVs, which have been refined to more accurately recognize users and contexts for optimal viewing. Also on the agenda were Bespoke AI appliances equipped with Bixby to upgrade the smart home experience. .
       
      Additionally, the Samsung Health SDK Suite offered a glimpse into the future of digital health with its potential to transform the healthcare ecosystem.
       
       
      Transforming AI-Driven Communication and Exchange at Open Stage
      SDC24 featured diverse programs designed to foster communication and interaction among developers including Open Stage, where various external speakers shared their knowledge and industry expertise; a Q&A session with Tech Session speakers; and the Roundtable, discussion sessions for attendees to explore the exhibits and exchange ideas.
       

       
      Developer Tiffany Janzen, the founder of TiffinTech, spoke about the future of everyday life shaped by the convergence of AI and IoT during Open Stage. Meanwhile, Q&A session attendees participated in lively discussions and shared valuable insights.
       
       
      Experiencing AI-Powered Software Solutions at Tech Square
      Tech Square, an exhibition space showcasing Samsung’s latest innovations, provided participants with a firsthand look at the company’s cutting-edge software and AI-based services.
       

       

       
      Developers lined up to explore the latest AI features integrated into TVs, home appliances and more. The Generative Wallpaper feature on Samsung TVs as well as the Bespoke AI Family Hub in particular garnered a large amount of attention from developers.
       
      Celebrating its 10th anniversary, SmartThings evolved with AI to launch Home Insight and expand SmartThings Hub to a wider range of products.
       

       
      HARMAN, a Samsung subsidiary, made an appearance at the event as well. The company introduced technology aimed at helping developers enter the automotive app market and demonstrated its Ignite platform, offering a variety of in-vehicle experiences including automotive apps.
       
       
      Expanding Samsung’s Software Ecosystem With Partners
      Partner companies leading software and device innovation were also present at Tech Square. The Partnership Zone provided a comprehensive overview of their devices and solutions within the SmartThings and Samsung Health ecosystem. Attendees experienced different real-life scenarios with treadmills, blood pressure monitors, smart body scales and more for an up-close look at the future of personalized healthcare at home through the seamless integration of Samsung Health and SmartThings.
       

       
      Additionally, Samsung Wallet saw further advancements through collaborations with various partners, including smart key companies. For instance, the door lock functionality of SmartThings has been integrated into Samsung Wallet as a digital home key for improved convenience and usability. From mobile payment to storing digital IDs and event tickets, most of Samsung Wallet’s existing features were developed and launched in close collaboration with partner companies.
       

       

       

       
       
      Diving Into Samsung’s Software at Code Lab
      Featuring a total of 13 coding programs, Code Lab provided developers with hands-on coding experiences covering topics such as health, SmartThings, Samsung Wallet and automotive apps. After selecting their areas of interest, developers solved various software challenges under a time limit for an engaging and interactive experience.
       

       

       

      View the full article
    • By Samsung Newsroom
      Gamescom 2022, the world’s largest gaming show, kicked off grabbing much attention in Cologne, Germany on August 24. Gamescom, which was held virtually for the past two years, resumed on site after three years.
       
      Samsung Electronics constructed the ‘Odyssey City’ booth at Gamescom 2022, where players can experience a variety of products to match their gaming tastes. The booth includes the ‘Ark Highlight Zone’, where visitors can experience the world’s first 55-inch gaming screen with 1000R curvature, the Odyssey Ark, a hands-on experience zone where visitors can play a game with Samsung’s gaming displays such as the Odyssey Neo G8 and the Odyssey Neo G7, and the ‘Samsung Gaming Hub Zone’ where visitors can enjoy a cloud game via a Samsung display without any additional devices.
      ​ 
      ​ 
      Check out the photos below for a peek at the exciting ‘Odyssey City’ where you can learn everything about Odyssey and experience the future of gaming.
       
       
      ■ Welcome to the Odyssey City
      ▲ Cosplayers pose in front of the ‘Samsung Odyssey City’ booth located in the central hall 9 of Cologne Messe, where Gamescom 2022 is being held.
       

       
      ▲ The scene of ‘Samsung Odyssey City’ at Gamescom 2022. A wide range of zones allow visitors to experience Odyssey products and to see Samsung’s vision for the future of gaming displays.
       
       
      ■ The Odyssey Ark Unveiled for the First Time in Europe
      ▲ The Odyssey Ark offers a perfectly immersive gaming experience for gamers with Multi View, Cockpit Mode, 4K resolution and 165Hz refresh rate. The mesmerizing design captures many people’s attention.
       
      ▲ Visitors at the Samsung booth are playing a game using the Odyssey Ark’s Cockpit Mode and Multi View.
       
      ▲ In the Odyssey Ark Zone, global gaming influencers film and talk about the Odyssey Ark.
       
       
      ■ The ‘Odyssey City’ Receives Attention From Global Media

       

       
      ▲ The Odyssey Ark and Samsung Gaming Hub were announced at the media event on August 24.
       
       
      ■ The Odyssey Lineup Optimized To Enjoy the Most Immersive Experience

       

       
      ▲ The Odyssey Neo G8, world’s first 4K, 240Hz monitor was awarded the Best of Innovation Award in the Gaming category at CES 2022. Visitors are enjoying games through the Odyssey Neo G8.
       

       
      ▲ Visitors are experiencing the full Odyssey lineup, including the Odyssey Neo G7.
       
       
      ■ Experience the Best of Gaming in One Place With Samsung Gaming Hub
      ▲ Samsung Gaming Hub is a platform that allows users to play cloud games without connecting to additional devices such as a console or PC, or game installations. Visitors are experiencing the Samsung Gaming Hub through the Odyssey Ark.
       

       
      ▲ Visitors are experiencing the Samsung Gaming Hub with the Odyssey G7 (G70B) and the Odyssey G6 (G65B).
       
      ▲ Visitors are experiencing the Samsung Gaming Hub with the Neo QLED (QN95B).
       
       
      ■ ‘Odyssey City’, a Festival for Gamers

       

       
      ▲ Cosplayers, dressed up as characters from their favorite games and movies, caught the attention at the Samsung Electronics booth.
       
      View the full article





×
×
  • Create New...