admin管理员组文章数量:1410737
I've just discovered Evercookie project on Github.
Evercookie is a Javascript API that produces extremely persistent cookies in a browser. Its goal is to identify a client even after they've removed standard cookies, Flash cookies (Local Shared Objects or LSOs), and others.
This is acplished by storing the cookie data as many browser storage mechanisms as possible. If cookie data is removed from any of the storage mechanisms, evercookie aggressively re-creates it in each mechanism as long as one is still intact.
If the LSO mechanism is available, Evercookie may even propagate cookies between different browsers on the same client machine!
I tested it online, on this example page. I clicked "Create evercookie" button, I deleted all browsing data and I refreshed the page. The cookies that were deleted by deleting browsing data returned again there.
Where is the browser security in this thing? Is this secured?
I've just discovered Evercookie project on Github.
Evercookie is a Javascript API that produces extremely persistent cookies in a browser. Its goal is to identify a client even after they've removed standard cookies, Flash cookies (Local Shared Objects or LSOs), and others.
This is acplished by storing the cookie data as many browser storage mechanisms as possible. If cookie data is removed from any of the storage mechanisms, evercookie aggressively re-creates it in each mechanism as long as one is still intact.
If the LSO mechanism is available, Evercookie may even propagate cookies between different browsers on the same client machine!
I tested it online, on this example page. I clicked "Create evercookie" button, I deleted all browsing data and I refreshed the page. The cookies that were deleted by deleting browsing data returned again there.
Where is the browser security in this thing? Is this secured?
Share Improve this question edited Jun 20, 2020 at 9:12 CommunityBot 11 silver badge asked May 10, 2013 at 11:20 Ionică BizăuIonică Bizău 114k94 gold badges310 silver badges487 bronze badges 2- 1 DO NOT USE THIS! Chrome will block scripts with evercookie in the name, which is your first clue that it's bad news. If you rename it, Chrome sees a global variable named evercookie and sends a request to Google's servers to log your site's URL. If you're using it on a production website, I assume that your domain will be marked as unsafe. – Golphy Commented Aug 29, 2016 at 21:21
- 1 (I know there are 6 years, but still... ) The question you asked is whether Evercookie should be used or not, but the accepted answer is indicating how to protect from its invasive behavior. I am also interested to find out others opinion - so how did you see the accepted post as the response at your question ? Other way said - what did you found out, it is ok or not ? – Victor Commented Sep 29, 2019 at 13:30
3 Answers
Reset to default 2If you want to disable Flash based cookies, use Adobe's "Global Storage Settings" panel here:
http://www.macromedia./support/documentation/en/flashplayer/help/settings_manager03.html
Perform all of these Steps:
- Uncheck "Allow 3rd Party Flash Content to store data on your puter"
- Check "Never ask again" (a non-obvious, but important step)
- Click the 2nd to last tab: "Website Storage Settings"
- Delete all existing data
Chrome bundles its own Flash plugin on Windows and Mac OS X. The settings and disk storage are separate from the plugin packaged directly by Adobe, so you may need to perform the above steps twice if you use Chrome. On the plus side, the separate storage location prevents Flash from being used to synchronize cookies to or from Chrome and other browsers.
I remend testing with my personal site:
http://noc.to
The "Zombie Cookie" section can show you exactly how cookies are being restored and help you determine if the above steps (or any tools you use) are working.
In order to create an Evercookie, all you need is:
- The ability to run JavaScript (or other active content, like Flash and perhaps Java); and
- The ability to access the various client-side locations where copies of the cookie data are stored.
Totally disabling access to all storage mechanisms would render most of them useless; for most of them, their whole reason for being is to allow a script to use them. So the only even remotely feasible option is restricting access by domain. I'm not sure what browsers (if any) allow that kind of granularity, though. Most can allow or block JS as a whole from certain domains, but as for what features a given domain's scripts can use...? I'm not seeing that ability in Chrome 26 or IE 10, at least.
Well, it doesn't seem to work that well.
- Created the everCookie
- Closed the window
- Empty all elements of Firefox cache (just by going to delete recent history anc check everything except site preferences)
- Closed the window
- Came back to the page
- Finally realized it wasn't stored
What is strange is that I dind't explicitely removed Flash cookies in Flash Website Storage Settings panel. Maybe it's integrated into Firefox. Or I may have disabled them.
I think there's several other ways to store cookies and trace you. Facebook is already tracking you all over the web, even when disconnected. Google too (do you use Chrome?). Moreover, with IPv4 addresses, we certainly can find you back (why not just after you've emptied your cache!). We also can find you back while logging back on any site, and make a link with your previous sessions.
I suggest:
- Using Firefox, even it's slower than Chrome, it's still more respectful of privacy
- Removing the whole Internet cache on window close (sorry you'll have to log again on your preferred sites)
- Check third-party cookie options
- Use browser addons with care
- Check Flash & Silverlight cookie options
- Avoid website reputation checking (provided that you can recognize a fishing attempt)
- Use private browsing mode when you don't want to share your digital lives
本文标签: cookiesEvercookie browser securityStack Overflow
版权声明:本文标题:cookies - Evercookie browser security - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744903902a2631504.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论