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
      Watch Face Studio (WFS) allows designers to create custom watch faces for Galaxy Watches running Wear OS powered by Samsung with powerful visual and interactive features. One of the newest additions to the software is the Photo slot feature, which lets users personalize watch faces by adding images from their phones through the companion app (Galaxy wearable), making designs more dynamic and customizable.
      This blog demonstrates how designers can implement the Photo slot feature in a watch face project and allow users to customize backgrounds directly from their phones. The blog covers:
      • Adding a background image using a Photo slot
      • Setting the Photo slot properties
      • Customizing the Photo slot using the companion app
      The sample project includes some images that requires the use of the Photo slot feature.
      Adding a background image using Photo slot
      To begin, create a new watch face project in WFS. Instead of adding a Preset image, use the Photo slot component.
      The Photo slot component allows adding only one image to the project. However, after deploying the watch face on a real device, the Photo slot enables the inclusion of multiple images within it.
      NoteThe Photo slot feature allows only one slot per project, and adding another turns off the feature in the components. In the sample project, different times of the day are used to display the background image. This ensures that the watch face has a ready-to-use appearance when it first loads.
      Additional background images are provided with the sample project file, such as:
      ● Noon
      ● Evening
      ● Night
      In this project, the Morning theme is already added within the watch face design. The other themes are demonstrated later through customization using the companion app.
      Setting Photo slot properties
      The Photo slot component has two options in the "WHEN TO CHANGE PHOTO" section of the properties:
      • When watch face is tapped (the default value)
      • When watch wakes
      In this project, the When watch face is tapped option is selected. This option allows the user to quickly and interactively change the watch face background by tapping the watch screen to cycle through the available images in the slot.
      The Photo slot also includes another property called When watch wakes. When enabled, the background automatically changes whenever the watch screen turns on.
      Deploying the watch face
      After configuring the Photo slot and watch face elements, the project can be deployed to a real Galaxy Watch.
      For guidance on deploying the watch face to a real device, refer to Connecting Galaxy Watch to Watch Face Studio over Wi-Fi.
      Customizing the Photo slot
      One of the main advantages of the Photo slot feature is that it allows end users to customize the watch face with their own photos.
      Once the watch face has been deployed, the user can then customize it with their own background images by following the steps below:
      Open the companion app on the connected phone. Tap the Customize button. Click on the ‘+’ sign to add images. NoteThree sample images are included with the sample project. To use these images, download and store them with your phone's photos. The process opens the phone's photos and provides options to select images. After images have been added, they are displayed on this screen, along with an option to delete them. The first added image is automatically set as the background image.
      Testing on a real device ensures that the Photo slot interaction behaves correctly and the tap-based background switching works smoothly.
      Conclusion
      The Photo slot feature in Watch Face Studio introduces a powerful way to create customizable watch faces. By combining the built-in background image with user-selected images through the companion app, designers can deliver watch faces that are both visually appealing and highly customizable.
      If you have questions or need help with the information presented in this article, you can share your queries on the Samsung Developers Forum. You can also contact us directly for more specialized support through the Samsung Developer Support Portal.
      View the full blog at its source
    • By Samsung Newsroom
      On March 27, Samsung KX in London came alive as Samsung Electronics brought fans together for Samsung OLED FC, a Clubs tournament in EA SPORTS FC 26 that turned live competition into a showcase of speed, skill and immersive display performance.
      With a peak of about 42,000 viewers tuning in remotely at the same time through the Samsung Odyssey and other Twitch channels, the event combined the atmosphere of a live esports showdown with the reach of a global online broadcast. Team captains from  France, Germany, Spain and the UK competed on the main stage in front of a live audience, while their teammates joined the action remotely.
      Samsung OLED FC captured the thrill of competition, from crowd reactions and influencer appearances to the winning play. Powered by Samsung’s latest OLED display lineup, the tournament gave attendees a front-row seat to vivid visuals and fast-paced gameplay on the OLED TVs (S90F) and the Odyssey OLED G6 (G60SF) monitors.
      Samsung Newsroom captured key scenes from the event below.
      ▲ Fans fill Samsung KX in London as Samsung OLED FC brings a live EA SPORTS FC 26 competition to the venue. ▲ The main stage at Samsung KX is set for competition, showcasing EA SPORTS FC 26 gameplay on Samsung OLED TVs during Samsung OLED FC. ▲ Powered by Samsung OLED, the event delivered vivid visuals and immersive gameplay — featuring the Odyssey OLED G6 (left) and Samsung OLED S90F (right). ▲ Team captains from France, Spain, Germany and the UK are welcomed on stage ahead of the tournament at Samsung OLED FC. ▲ Team captains Gravesen_1 (Spain) and RockY (France) compete live on stage during Samsung OLED FC. ▲ Team UK and Team Spain face off on stage at Samsung OLED FC. ▲ Team UK and Team Germany compete as fans watch the action unfold at Samsung OLED FC. ▲ Fans watch as Team Germany and Team France compete on stage at Samsung OLED FC. ▲ The crowd reacts to a goal during Samsung OLED FC. ▲ Players go live from the on-site gaming bus, a dedicated streaming hub at Samsung OLED FC. ▲ Visitors experience Samsung Odyssey OLED gaming performance at Samsung KX. ▲ The night ends with Team France lifting the title at Samsung OLED FC. View the full article
    • By Samsung Newsroom
      Integrated Systems Europe (ISE) 2025 kicked off on February 4 in Barcelona, highlighting the latest advancements in commercial display technology.
       
      Samsung Electronics welcomed guests with a striking 462” The Wall media facade at the entrance to its booth — while inside, the company showcased its energy-efficient Color E-Paper display alongside AI-powered upgrades to the SmartThings Pro platform. The supersized 115” 4K Smart Signage display captivated visitors with its immersive visuals as well.
       
      Samsung Newsroom explored the booth firsthand and captured these innovations leading the future of commercial displays.
       
      ▲ Visitors marvel at The Wall’s stunning visuals powered by MICRO LED technology.
       
      ▲ (From left) Hoon Chung, Executive Vice President; SW Yong, President and Head of Visual Display (VD) Business; and Seong Cho, Executive Vice President of Europe Office, from Samsung Electronics admire The Wall.
       
      ▲ The ultra-low power Samsung Color E-Paper boasts a slim, lightweight design.
       
      ▲ Visitors examine Samsung VXT, a comprehensive cloud-based content management solution (CMS) platform.
       
      ▲ Visitors crowd around the SmartThings Pro wall to see how the B2B management platform has expanded to include enterprise-grade IoT devices.
       
      ▲ Visitors interact with the Google Cast feature newly added to Samsung’s 2025 hotel TV lineup.
       
      ▲ SW Yong, President and Head of Visual Display (VD) Business at Samsung Electronics, tries out the 2025 Interactive Display equipped with Samsung AI Assistant.
       
      ▲ The 115” (16:9) 4K Smart Signage display boasts an ultra-large screen optimized for office spaces, retail stores and other business environments.
       
      ▲ A visitor observes the 105” (21:9) 5K Smart Signage display‘s various innovative features that make it the perfect option for video conferences.
      View the full article
    • 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
    • Government UFO Files
    • 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...