Skip to content

Commit

Permalink
Merge pull request #73 from rtCamp/remove-3pcd-references
Browse files Browse the repository at this point in the history
Removing references to 3PCD
  • Loading branch information
gagan0123 authored Aug 20, 2024
2 parents b6b9d61 + ddeac32 commit fcf9d18
Showing 1 changed file with 20 additions and 24 deletions.
44 changes: 20 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# PSAT Demos

PSAT Demos is a web application that showcases various demos and scenarios related to privacy sandbox.
PSAT Demos is a web application that showcases various demos and scenarios related to Privacy Sandbox.

## Description

PSAT Demos is a web application built using Node.js and Express. It demonstrates different privacy-related
technologies and scenarios through various demos and use cases.
PSAT Demos is a web application built using Node.js and Express. It demonstrates different privacy-related technologies and scenarios through various demos and use cases.

The project is structured into two main sections:

1. **Demo Types**: These are categorized demos, each showcasing a specific privacy sandbox technology.
1. **Demo Types**: These are categorized demos showcasing a specific privacy sandbox technology.
2. **Scenarios**: These demos represent real-world scenarios where privacy technologies can be applied.

## Getting Started
Expand Down Expand Up @@ -75,9 +74,7 @@ cookies as partitioned cookies tied to the top-level site where it's initially s
### **Analytics - Cross-Domain Tracking**
This demo showcases the ability to track user interactions using third-party cookies when third-party services are
utilized. The demo consists of three domains - a first-party domain utilizing a third-party service, another first-party
domain also utilizing the third-party service, and the third-party analytics service domain.
This demo showcases the ability to track user interactions using third-party cookies when third-party services are utilized. The demo consists of three domains - a first-party domain utilizing a third-party service, another first-party domain also utilizing the third-party service, and the third-party analytics service domain.
**Domain Information**
Expand All @@ -103,27 +100,27 @@ sequenceDiagram
DomainB->>DomainC: Retrieves unique ID from cookie
DomainC->>User: Recognizes as the same User
Note over User,DomainC: After Third-party Cookie Deprecation
Note over User,DomainC: After blocking third-party cookies
User->>DomainA: Visits
DomainA->>DomainC: Unable to assign unique ID
DomainA->>DomainC: Unable to assign a unique ID
DomainC-->>User: Cannot store ID (no cookie)
User->>DomainB: Visits
DomainB->>DomainC: Cannot retrieve unique ID
DomainB->>DomainC: Cannot retrieve the unique ID
DomainC-->>User: Treats as a new User
```
### **E-Commerce - Cross-Domain Shopping Cart**
This demo showcases the use of third-party cookies to store shopping cart information across domains while
utilizing a third-party ecommerce service. The primary goal is to test whether third-party ecommerce services can
utilizing a third-party e-commerce service. The primary goal is to test whether third-party e-commerce services can
still use third-party cookies to manage cart information across different domains.
**Domain Setup**
* **domain-aaa.com** - First-party domain utilizing the third-party ecommerce service.
* **domain-bbb.com** - Another first-party domain also utilizing the third-party ecommerce service.
* **domain-ccc.com** - The third-party ecommerce service domain.
* **domain-aaa.com** - First-party domain utilizing the third-party e-commerce service.
* **domain-bbb.com** - Another first-party domain also utilizing the third-party e-commerce service.
* **domain-ccc.com** - The third-party e-commerce service domain.
**Sequence Diagram**
Expand Down Expand Up @@ -151,13 +148,13 @@ sequenceDiagram
DomainC->>DomainC: Fetches cart data from cookie
DomainC->>User: Displays cart contents (Product 1 and Product 2)
Note over User,DomainC: After third-party cookie deprecation
Note over User,DomainC: After blocking third-party cookies
User->>DomainA: Access homepage again
User->>DomainA: Access the homepage again
DomainA->>User: Render homepage with embedded iframe to DomainC/products
User->>DomainC: Clicks on "Add to cart" for Product 3
DomainC-->>DomainC: Cannot set/update cart cookie
DomainC->>User: Fails to update cart icon count or displays incorrect count
DomainC->>User: Fails to update cart icon count or displays the incorrect count
User->>DomainB: Navigates to domain-bbb.com again
DomainB->>User: Render homepage with embedded iframe to DomainC/products
User->>DomainC: Observes cart icon with no items
Expand All @@ -170,7 +167,7 @@ sequenceDiagram
This demo is designed to showcase the behavior of third-party cookies within embedded content across different domains.
We use an embedded YouTube video as an example of third-party content. The demonstration helps users and developers
understand how third-party cookies function when interacting with content embedded from other domains.
understand how third-party cookies function when interacting with content embedded in other domains.
**Domains Used:**
Expand Down Expand Up @@ -202,7 +199,7 @@ sequenceDiagram
User->>YouTube: Observe "watch later" button presence
Note over User,YouTube: After third-party cookie deprecation
Note over User,YouTube: After blocking third-party cookies
User->>DomainA: Navigate to DomainA/embedded-video
DomainA->>YouTube: Load YouTube video
Expand All @@ -221,13 +218,12 @@ sequenceDiagram
### **Single Sign-On - Cross-Domain Single Sign-On**
This demo showcases a basic implementation of a Single Sign-On (SSO) scenario where third-party cookies are used to
share login information across different domains.
This demo showcases a basic implementation of a Single Sign-On (SSO) scenario where third-party cookies are used to share login information across different domains.
**Domains Used:**
* **domain-aaa.com** - The first party domain using the third party service.
* **domain-bbb.com** - Another first party domain using the third party service.
* **domain-aaa.com** - The first-party domain using the third-party service.
* **domain-bbb.com** - Another first-party domain using the third-party service.
* **domain-ccc.com** - The third-party single sign-on service.
**Sequence Diagram**
Expand All @@ -254,7 +250,7 @@ sequenceDiagram
DomainC->>DomainB: Confirm user is logged in
DomainB->>User: Render profile page
Note over User,DomainC: After Third-Party Cookies Deprecation
Note over User,DomainC: After blocking third-Party cookies
User->>DomainA: Visit domain-aaa.com
DomainA->>User: Render sign-in page
Expand Down

0 comments on commit fcf9d18

Please sign in to comment.