Hacker News new | ask | show | jobs
by dheera 1818 days ago
Google Drive itself uses third-party cookies. You can't download files from Google Drive without enabling them, for some reason.
2 comments

Are you saying you can't download files from Google Drive in the default Safari configuration?
I don't use Safari or any AppleWare but I disable 3rd party cookies in Chrome and I can't download files from Google Drive unless I temporarily enable it.
I just tried it:

* On Safari it works correctly with default settings.

* On Chrome with third party cookies disabled it doesn't work and takes you to https://support.google.com/drive/answer/2423534

I poked around in dev tools, and it looks like what's happening is in serving to Safari it gives a download link that includes authentication information, but when serving to Chrome it doesn't. Perhaps because it's expecting to get third party cookies?

My guess is that they rolled out special handling for Safari when it started blocking third-party cookies by default, which will eventually make its way to all browsers?

(Disclosure: I work on ads at Google, speaking only for myself)

Hm. Maybe I can just spoof my user-agent as Safari when using Google drive.

Kind of ironic that I need to spoof as non-Google device to use a Google product with a Google browser.

Was the delay caused by between Chrome and Ads teams not aligning on privacy sandbox APIs?
I think many people will agree that this is just terrible engineering and there are many ways to authenticate users who download files without the use of 3rd-party cookies. Literally every other cloud storage provider was able to figure that one out.