Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance setuid TCF #2475

Open
bretg opened this issue Nov 29, 2022 · 2 comments
Open

Enhance setuid TCF #2475

bretg opened this issue Nov 29, 2022 · 2 comments

Comments

@bretg
Copy link
Contributor

bretg commented Nov 29, 2022

While refactoring cookie-sync as defined in #2173 , we discovered that the original TCF2 requirements for /setuid could use strengthening. At least in PBS-Java, the setuid endpoint was implemented according to the PBS requirement 16.1 in Prebid Support for Enforcing TCF 2. -- that requirement mentioned only checking the host company ID and not the bidder's Purpose 1 permission. I've updated 16.1.b with the bolded text:

Before setting a cookie on /setuid, verify consent for both the Host Company's GVL ID and the cookie-family's bidder GVL ID as appropriate for the enforcement method. If consent is not granted for either, log a metric and skip it.

This is not a high priority because the /cookie_sync endpoint checks P1 permission for the GVL of the bidder before returning the sync url, so there's no way in production that a bidder without consent would be hitting /setuid. We found this in testing with manually generated URLs.

@bretg
Copy link
Contributor Author

bretg commented Jan 6, 2023

Added a (somewhat obvious) statement to 16.1

If a bid adapter/cookie-family doesn't have a GVL ID, it cannot have consent.

@bretg
Copy link
Contributor Author

bretg commented Jan 15, 2025

Done in PBS-Java 3.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Dev
Development

No branches or pull requests

1 participant