Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Flash Cookies, a Little-Known Privacy Threat

Posted by kdawson on Tue Oct 14, 2008 01:43 PM
from the flashblock-considered-mandatory dept.
Wiini recommends a blog posting exploring Flash cookies, a little-known threat to privacy, and how you can get control of them. 98% of browsers have Macromedia Flash Player installed, and the cookies it enables have some interesting properties. They have no expiration date; they store 100 KB of data by default, with an unlimited maximum; they can't be deleted by your browser; and they send previous visit information and history, by default, without your permission. I was amazed at some of the sites, not visited in a year or more, that still had Flash cookies on my machine. Here's the user-unfriendly GUI for deleting them, one at a time, each one requiring confirmation.
+ -
story

Related Stories

[+] Adobe Flash Cookies Raising Privacy Questions Again 103 comments
Nearly a year after we discussed the privacy implications of Flash cookies, they are in the news again as the US government considers revising its cookie policy. Wired covers a study out of UC Berkeley exposing questionable practices used by many of the Internet's most-visited Web sites (abstract). The most questionable activity the report exposes is known as "respawning": after a user has deleted browser tracking cookies, some sites will use information in Flash cookies to recreate them. The report names two companies, Clearspring and QuantCast, whose technologies reinstate cookies for other Web sites. "Federal websites have traditionally been banned from using tracking cookies, despite being common around the web — a situation the Obama administration is proposing to change as part of an attempt to modernize government websites. But the debate shouldn't be about allowing browser cookies or not, according Ashkan Soltani, a UC Berkeley graduate student who helped lead the study. 'If users don't want to be tracked and there is a problem with tracking, then we should regulate tracking, not regulate cookies,' Soltani said."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Old News (Score:5, Informative)

    by AKAImBatman (238306) * <(akaimbatman) (at) (gmail.com)> on Tuesday October 14 2008, @01:44PM (#25372427) Homepage Journal

    1. Flash supports local shared objects, not "cookies". Cookies are submitted back to the server. Shared Objects are bits of storage available to movies from a particular domain. They must explicitly submit the information back to cause an information leak.

    2. Using shared objects to save browsing history is dumb. If you wanted to do evil Flash tracking, use a unique id that you can look up on the server side.

    3. You can delete and/or restrict the contents from inside a Flash movie. Use the right-click menu in Flash to access settings and set the storage level to 0 bytes. That will wipe everything out. It will also force Flash to prompt you every time it wishes to save something to disk.

    4. This was added in Flash 6, which was released back in 2002. Since then, it has been used by a variety of Flash applications. Many of which you probably use every day. From saving your progress in your favorite Flash game to remembering the volume settings in that Youtube video, Local Shared Objects have been shown to be a valuable feature.

    5. If you're worried about this, just wait until you guys see the Storage APIs [whatwg.org] in HTML5. You're going to freak.

    • Re:Old News (Score:5, Informative)

      by Sensible Clod (771142) <dc-7@NospaM.charter.net> on Tuesday October 14 2008, @01:53PM (#25372625) Homepage
      There used to be a Firefox extension for Local Shared Objects, called Objection [mozdev.org], and I used it back then, but it's not compatible with Firefox 3.
    • Welcome (Score:2, Interesting)

      My specific comment to this news article and your response is that third party objects always reduce security as they increase features and that is a constant and yes that is not new.

      A slight side-note...

      You must be new here. Welcome to Slashdot.org where you can get news of many varieties. Some is stale dated, some is duplicated but it's all kinda interesting to talk about and that is why most of us like it here.

      Because even if the news is old, the discussion at Slashdot is always new! (well at least the h

    • All true.

      It will also force Flash to prompt you every time it wishes to save something to disk.

      Any idea why mine does it a dozen times for each request?

    • Re:Old News (Score:5, Informative)

      by Anonymous Coward on Tuesday October 14 2008, @01:59PM (#25372723)

      1. Flash supports local shared objects, not "cookies". Cookies are submitted back to the server. Shared Objects are bits of storage available to movies from a particular domain. They must explicitly submit the information back to cause an information leak.

      2. Using shared objects to save browsing history is dumb. If you wanted to do evil Flash tracking, use a unique id that you can look up on the server side.

      3. You can delete and/or restrict the contents from inside a Flash movie. Use the right-click menu in Flash to access settings and set the storage level to 0 bytes. That will wipe everything out. It will also force Flash to prompt you every time it wishes to save something to disk.

      4. This was added in Flash 6, which was released back in 2002. Since then, it has been used by a variety of Flash applications. Many of which you probably use every day. From saving your progress in your favorite Flash game to remembering the volume settings in that Youtube video, Local Shared Objects have been shown to be a valuable feature.

      5. If you're worried about this, just wait until you guys see the Storage APIs [whatwg.org] in HTML5. You're going to freak.

      A bit more information...

      1 - Flash can store, by default, 100 kb of any datatype in the SharedObject class. They could easily emulate a browser cookie cache. This is effective because 99% of people don't even have a clue the cookies are there, and no adware-sniffing program I've seen yet even looks at sharedobject data. This is a VERY effective way of sneaking a cookie (and/or other data) into a permanent spot on a user's machine.

      2 - There is no point here: The sharedobject interface can easily store a cookie, and even if it didn't, it could probably safely store or backup more information based on the ignorance of the average user.

      3 - This is true. You can delete sharedobjects as long as you have a move clip visible you can click on. However, many sites have hidden flash elements that cannot be seen or clicked on. These sites can set data.

      4 - Sure they are useful, but the can and are misued. Best to be informed. Fortunately, you can find the storedobject data in "C:\Documents and Settings\\Application Data\Macromedia\Flash Player\#SharedObjects". Each site that stores data is found in a subdirectory bearing that site's name. You can pick and choose which sharedobjects to keep.

      5 - Indeed.

      • Re:Old News (Score:4, Interesting)

        by TubeSteak (669689) on Tuesday October 14 2008, @04:06PM (#25374485) Journal

        4 - Sure they are useful, but the can and are misued. Best to be informed. Fortunately, you can find the storedobject data in "C:\Documents and Settings\\Application Data\Macromedia\Flash Player\#SharedObjects". Each site that stores data is found in a subdirectory bearing that site's name. You can pick and choose which sharedobjects to keep.

        One of the things I discovered a long time ago is that emptying a #SharedObjects subdirectory and setting it to read-only does not work.

        Now I just go through every once in a while and clear out the whole thing.

        • Re: (Score:3, Informative)

          cd "\Documents and Settings\Application Data\Macromedia\Flash Player\"
          rmdir "#SharedObjects"
          ln -s nul "#SharedObjects"

          Oh you are running windows!? Works for me in cygwin bash.

      • 3 - This is true. You can delete sharedobjects as long as you have a move clip visible you can click on. However, many sites have hidden flash elements that cannot be seen or clicked on. These sites can set data.

        Flashblock [mozdev.org]

    • Re: (Score:3, Insightful)

      My question has always been, are cookies even really that bad? This may just be me, but I am not that concerned - unless a cookie for one site is actually tracking what I am DOING on another site - ie if Slashdot suddenly started tracking what I was doing at my bank. I may be totally ignorant here, but I did not think cookies worked that way. And who actually has time to poll through all that user data? I have a low-traffic website, and just for grins, I will go in sometimes and look at the server logs, but

      • Re:Old News (Score:4, Insightful)

        by NickFortune (613926) on Wednesday October 15 2008, @06:35AM (#25380697) Homepage

        My question has always been, are cookies even really that bad?

        That depends on the level of privacy to which you aspire, online. As far as I'm concerned, my business is my business. Of course, if you're happy living your online existence in a goldfish bowl, that's different.

        And who actually has time to poll through all that user data?

        Data mining programs do. Then people get to see whatever the programs flag up.

        So, let's just say that someone is using a shared object to store browsing history. So what? Unless my church saw that after I went to their website I visited some girl-on-girl site (or vice versa), I really don't care.

        Well, all that data goes into databases, and the data gets leaked and sold and demanded by the government, and burned to CD-Rom which then gets lost... and on the way ends up being amalgamated with with other databases. It's already possible to uncomfortably detailed profiles of people using only Google. That's without mining someone's clickstream over a year or so.

        Maybe you don't care who's looking over your metaphorical shoulder as you surf; I accept that many people do not. Nevertheless, for what I suspect are the majority of surfers, there's a definite issue here.

    • SQL database in the browser? Oh christ. It's like emacs all over again.

      • From TFS:

        Here's the user-unfriendly GUI for deleting them, one at a time, each one requiring confirmation.

        Sounds a little ungrateful considering that many, many people didn't know about this and are now provided and easy way to view and delete these objects without rummaging through menus and settings. If you hate Flash that much then don't use it!

        • Sounds a little ungrateful considering that many, many people didn't know about this and are now provided and easy way to view and delete these objects without rummaging through menus and settings. If you hate Flash that much then don't use it!

          /agree

          The "Delete all sites" button seemed to have worked pretty well too. The only thing is that I thought it was an image until I read the text under it stating that it wasn't, which is probably why the explanation was put there.

  • by MyLongNickName (822545) on Tuesday October 14 2008, @01:49PM (#25372553) Journal

    I flashed my cookies once and did a weekend in the slammer.

  • I don't allow any site to store any information on my machine, except when it is beneficial to me. That means, Slashdot can store cookies (session only), RevLeft can store cookies for ever, and various email places can store session only cookies.

    However, every other site is blocked by default (Firefox plugin called CookieSafe). With Flash, yes I'm using Macromedia's shit plugin, but even then the default (and I'm not going to change it) is to not allow any site to save any information.

    Of course, I also use NoScript and AdBlock... Yada yada.

    I'm on the web for my benefit, not for the benefit of advertisers and other scum.

    I've also heard about a trick to delete the folder where the Macromedia plugin stores the stuff and replace it with a read only blank file of the same name. Look into that if you don't trust Adobe as far as you can kick them...

    • Re: (Score:3, Interesting)

      And a quick follow up to that post. What happens if I hit a site that requires cookies (for no apparent reason)? I leave. The most common website is lyrics websites, and considering the number of them there are, I don't care if I miss out on one more.

      The same with JavaScript, there are only a few websites that I've enabled JS by default (Slashdot is one). But for all the rest, unless they have an obvious use for it (and can't provide alternative content), I leave if it's required.

      Screw them. I've got better

    • by Anonymous Coward on Tuesday October 14 2008, @03:09PM (#25373729)

      Mod parent "OldManOnPorchWithShotgun"

  • Somewhat Misleading (Score:5, Informative)

    by Aeonite (263338) on Tuesday October 14 2008, @01:53PM (#25372623) Homepage

    "Here's the user-unfriendly GUI for deleting them, one at a time, each one requiring confirmation."

    Except there's a button to delete them all at once.

  • by ajs (35943) <ajs@nOspam.ajs.com> on Tuesday October 14 2008, @01:54PM (#25372637) Homepage Journal

    Seriously, get flashblock from the Firefox addons site. You need it. Badly. The number of sites with the equivalent of the pixel.gif tracking or the Google Analytics type JavaScript tracking, but as a small Flash plugin are growing astronomically, and Adobe has no reason to favor your privacy over their customer's demands. These little apps aren't there to serve your needs or improve you're browsing experience, and they just should never run. If you want to run a Flash app, that's fine: click on it to run it.

    I use Flashblock and I've been watching Hulu and YouTube and enjoying all sorts of sites that use Flash. I'm also instantly aware of any site that's too lazy to present a standard Web page when I see a giant "click to run" button over the whole page, and I find another site. This is part of the process, and is an important way that neophyte Web developers learn that they can't just throw up Flash and not worry about Web standards.

        • Re: (Score:3, Informative)

          I read about this sometime ago, so keep in mind that it may no longer be correct. As I understand it, Flashblock works by analyzing the DOM as it's loaded and anytime it sees Flash content it removes it and inserts its own Flashblock placeholder. What this means is that it is possible for Flash to execute before it is removed, however given the delay before the SWF in question is downloaded it's very unlikely that it would begin executing before Flashblock is able to remove it.

          • Re: (Score:3, Informative)

            You and the GP AC are correct. Try running FlashBlock on a very slow PC and you'll see the first frame of the Flash application display... but this was witnessed by me over 6 months ago, I have not been back on my old, slow PC in a while.
  • And this ... (Score:5, Insightful)

    by gstoddart (321705) on Tuesday October 14 2008, @02:01PM (#25372755) Homepage

    This is why I don't install flash on my machines.

    Way too much junk and irritating sites. A site which requires flash will be left and promptly forgotten about. If you can't provide an interface to your site without Flash, I don't care what your site has in it.

    Cheers

    • Re: (Score:2, Insightful)

      by Anonymous Coward

      The parent sounds like the people who still use pine for checking their email. At some point, folks, the world is going to move on to new technology whether or not it is secure or you like it. I guess everyone has to make the decision to continue living life and embracing new technology or completely blocking it out and hoping it will go away. Websites that require flash aren't going to go away, folks: they are going to multiply. We shouldn't try to stop flash, or to ignore it, we should try to work toward

      • Re:And this ... (Score:5, Insightful)

        by Danny Rathjens (8471) <slashdot2@nOspaM.rathjens.org> on Tuesday October 14 2008, @02:59PM (#25373589) Homepage
        Imagine if people said the same thing about windows and gave up on linux. We can do much better than proprietary junk like flash.
      • Re:And this ... (Score:5, Insightful)

        by Hatta (162192) on Tuesday October 14 2008, @04:12PM (#25374587) Journal

        Why should we all accept a technology that is almost always used inappropriately? It's not being a luddite to expect people to use the right tool for the job. Flash is a technology that's good for vector animations. Stuff like homestar runner benefit from using flash, and nobody is going to complain that such a site uses flash.

        But what about all the websites that use flash based navigation? Does flash do anything that they can't do with html/javascript? No. Then what's the point? It's not progress if it doesn't enable you to do anything new. It's just dumb.

        And then there's sites like YouTube which use flash to serve up videos. I mean, come on. Embedding a video file in a flash application makes about as much sense as embedding an image in flash. The right thing to do is to send the video over http, and let the browser decide what to do with it. Just like we do with .jpg, .pdf, .mp3, and everything else on the internet.

        So don't give me this bullshit about flash haters being anti-progress, because there's really very little that flash actually does that anyone actually needs. It's almost always the wrong tool for the job.

        p.s. pine still works great, what's your problem with it?

    • by mb1 (966747) on Tuesday October 14 2008, @04:42PM (#25374985)

      ffs, there are plenty of irritating html sites as well...

      I'm over this repetitive anti-flash argument. (Honesty disclaimer, yes, I develop quite a bit in flash. No, not banner ads, and no, not fully-flash online banking applications either.)

      flash != junk
      people making junk with flash == junk

      (and you can replace 'flash' with plenty of other technologies as well - regexp not supplied.)

      If you don't install flash then that's fine and it's your choice, but you can't blame adobe or flash for webcrap. Blame the mofo's making the junk. Same applies for html+javascript badness - you don't blame the w3c and javascript interpreter writers... (or maybe you do, I don't know.)

      If you don't want advertising, adblock/whatever the sites hosting it. If you don't like sites that are full of rubbish made in flash, simply don't visit them again etc. If they're pushing what you don't want then why are you there? If they're pushing what you want in a format you don't like then consider letting them know.

      Sites that want to deliver rich media experiences, (increasingly) cross-platform interactive experiences, games, video, etc. will continue to use software like flash to deliver their products, messages and services until something better comes along. I don't know much about silverlight, but most articles I've read on slashdot don't exactly endorse it. Anyway, something better will come along and developers will be all over it, web standards or not unfortunately.

      And yes, sure, you can jump up and down and complain that your favourite cross-browser javascript api+libraries can deliver what flash can, but currently that's not true in some or even a lot of situations, depending on what you're building. I accept that this statement is pretty broad, everything looks like a hammer or a nail or whatever analogy you prefer...

      So, fitness for purpose. I'm sure most of us wish that more developers (ourselves included) used technologies appropriately, but not everyone has the same skills, audience, timeframes, etc. and certainly never the same morals.

      Webcrap will continue to be made, no doubt - but I guess my point is that crap is technology agnostic.

  • by BabyDave (575083) on Tuesday October 14 2008, @02:01PM (#25372757)
    On Windows, presumably the shared objects are the files stored in %USERPROFILE%\Application Data\Macromedia\Flash Player\#SharedObjects (usually c:\Documents And Settings\%USERNAME%\Application Data\... ) - can you not just delete the files directly?
    • Yes, I do that on Linux regularly.

      Just add this to your crontab:

      0 * * * * rm -rf ~/.macromedia ~/.adobe

      (If you actually use their other products, you might want to be more specific, like ~/.adobe/Flash_Player)

        • by Khopesh (112447) on Tuesday October 14 2008, @03:05PM (#25373663) Homepage Journal

          srm and shred aren't assured security if you're on a journaled filesystem. More importantly, if the Flash application is rooting through your filesystem looking for deleted data, "secure deletion" should be applied to Flash itself, not just its cache. That would be outrageous.

          My point is that you're merely trying to delete cookies to prevent user tracking. Secure deletion on your physical disk is not needed unless you're looking at a very special kind of content. ... Using srm or shred here would be like running your newspaper through the shredder because you never know who might be looking for the smudge marks that indicate what you actually read.

  • I did this and it seems to work: rm -r .macromedia ln -s /dev/null ~/.macromedia YMMV.
  • by Anonymous Coward on Tuesday October 14 2008, @02:03PM (#25372805)

    Or... a simple batchfile for neutering the little bastards completely. [elifulkerson.com] ... assuming they haven't changed anything.

  • by Craptastic Weasel (770572) on Tuesday October 14 2008, @02:05PM (#25372829)
    Go to This site [macromedia.com]

    1.) Go to Website Storage settings -> Delete all sites

    2.) Go to Global Storage settings -> allow 0 kb of storage

    3.) ????? 4.) Profit! (and/or continue going to porn sites...)
  • by Doc Ruby (173196) on Tuesday October 14 2008, @02:36PM (#25373251) Homepage Journal

    I can understand if there's a bug that lets one site read or write another site's cookies. But how are properly functioning cookies any threat to privacy? They are indeed a threat to anonymity, only because they let a site ID a browser (or a Flash player or some other client) as "the same as that other time". But what private info other than that you are the same person (or maybe not, on a shared machine) is threatened? The remote site could just store on its server any info about your transactions. It could require that you login to verify that you're that same returning visitor. And even without cookies, a remote site could send any info it got from your transactions over to any other site without notifying you. Cookies have nothing to do with it.

    Of course, any info stored on my machine should have a usable UI to manage it. But an inconvenient one isn't really a "privacy threat". After all, what is the threat? What goes wrong when it's abused?

  • Macromedia? (Score:4, Interesting)

    by dangitman (862676) on Tuesday October 14 2008, @03:46PM (#25374235)
    Shouldn't that be Adobe Flash now?
    • Give him a break, that acquisition was only announced three and a half years ago, he may not have heard about it yet. I mean, he's just now hearing about the "flash cookies" which have been around for like six years.
    • Re: (Score:2, Insightful)

      Flashblock does not prevent loading of flash programs. All it does is hide them from view (and sound). Use NoScript instead. Block all 3rd party scripts and enable all 1st party scripts.

      • Re:Duh department (Score:4, Informative)

        by GuldKalle (1065310) on Tuesday October 14 2008, @03:21PM (#25373899)

        Can you point to a source, please?
        Because the front page of FlashBlocks site [mozdev.org] says something different:

        Flashblock is an extension for the Mozilla, Firefox, and Netscape browsers that takes a pessimistic approach to dealing with Macromedia Flash content on a webpage and blocks ALL Flash content from loading. It then leaves placeholders on the webpage that allow you to click to download and then view the Flash content.

        (Emphasis taken from source)

        • Re:Duh department (Score:5, Interesting)

          by WoodstockJeff (568111) on Tuesday October 14 2008, @05:40PM (#25375699) Homepage

          With Flashblock loaded and active, watching hidden the Macromedia directories, visiting a page with Flash objects created objects in the Macromedia\Flash Player\#SharedObjects and Macromedia\Flash Player\macromedia.com\support\sys directories, without running any of the visible Flash objects.

          That would indicate to me that some part of Flash is being activated, despite the presence of Flashblock...

    • Re: (Score:3, Insightful)

      So, tell me... How is it that a flash application available on-line (from adobe) is able to delete and assign space to those very elements? You are telling me that it is not, in turn, able to access those very items? And, if it can access those items, is this not a far worse security issue than browser cookies?

      Just wondering.

      Now, add to this (the configuration panel for flash storage being available on-line, accessible without the need of a password) to the actual (closed source) implementation of flash --