And also, I suggest you take a look at the Chrome privacy settings as well. Chrome settings privacy. If you go to third-party cookies, you know third-party cookies, it's all about the cookies that are set to none, which, as you see, as I mentioned, if you set the cookie to none, other applications can send the cookie along to your website. So it means that if you are an advertisement service, you can keep track of people visiting different websites. So if you set them to block, it's going to be blocked for good. Nice.
And also, another point about this one, by default, if you go to incognito mode as well, so everything by default is blocked. So last but not least, partitioned attribute. Partitioned attribute is very cool, and I really like it. As I mentioned, whenever you use the same site and you set it to none, you can use that cookie between different domains, right? Because it's not going to check for the same site. Because I'm going to use it for storing different things across different websites. But there is a property attribute that you can set for your cookies, which is partitioned. Partitioned is there exactly to fix the privacy issue of the cookies with none, but not disclose your information. So how does it work? Just put partitioned attribute for your cookie, and we call it chips, actually. Cookies having independent partition states. It's not named somehow. It mostly feels like a sentence, but chips in short.
So if you use chips, it's going to partition your cookie. It's going to make a key for your cookie, your embedded cookie, and the top level, the parent website. So it means that your cookie would be different in different applications if they use it. Let me show you a picture in the privacy sandbox at google.com, which makes more sense to you. This one. Whenever it is unpartitioned, whenever you don't have partitioned property, the cookie would be shared between application A and application B. Application A, in this case, for us, is our victim. C is the cookie that I set for the victim as well. But B, it wants to use B, which is attacker, wants to use a cookie from victim application, which, in this case, it's not acceptable. We want to prevent this one, or having some kind of privacy issue, keeping track of users. But you want to have this feature to have a cookie and store something. In this case, you can put partition. Partition would consider A and C and as a key for your cookie jar.
Comments