News for hackers. Stuff that matters.
Re:NY Times Blocking Incognito Browsers by RandomBK on Friday March 01, 2019 @04:11AM (#19278980)
Some web APIs are disabled in incognito mode, yet are almost universally present on modern browsers. By attempting to use these APIs, a web page can detect if you are in Incognito. If the API is blocked, they can reasonably assume you are.
Re:NY Times Blocking Incognito Browsers by yellowapple on Saturday March 02, 2019 @02:36AM (#19288103)
Sounds like the reasonable thing to do would be to shim those APIs to make them look like they're functional (in fact, it sounds like Chrome Canary is doing exactly that with the filesystem API).
Re:NY Times Blocking Incognito Browsers by RandomBK on Sunday March 03, 2019 @03:25PM (#19296616)
I wonder how far you'd need to shim before you can stamp out detection. I.e. does it really matter if you shim the Filesystem API? A program can just write some data and try to read it back. If the shims just no-oped those API calls, it'd be pretty easy to detect, no?

Chrome Canary's workaround is to store blobs in memory, which one can argue is akin to actually implementing the API and not disabling it.

Re:NY Times Blocking Incognito Browsers by yellowapple on Sunday March 03, 2019 @05:53PM (#19297449)
I mean, if the point of the API is to access the filesystem, and you instead redirect those calls to a different in-memory scratch filesystem local to that incognito session and/or tab, then I'd call that shimming to at least some extent; it'd just be an especially thick shim.
Re:NY Times Blocking Incognito Browsers by breakingcups on Monday March 04, 2019 @10:16AM (#19301859)
In that case it might still be detectable by measuring timing of storage and retrieval?
Re:NY Times Blocking Incognito Browsers by yellowapple on Tuesday March 05, 2019 @04:09PM (#19314274)
Maybe. Adding a delay could further mask that.
Re:NY Times Blocking Incognito Browsers by sublupo on Friday March 01, 2019 @04:18AM (#19279000)
Thanks. What were some examples of those APIs?
Re:NY Times Blocking Incognito Browsers by JonoW on Friday March 01, 2019 @04:54AM (#19279160)
I believe FileSystem API is one of them.
Re:NY Times Blocking Incognito Browsers by frosted-flakes on Friday March 01, 2019 @12:20PM (#19282996)
The localStorage API on Safari too, I believe.