Index.dat: Part I - What is index.dat?

If you go poking around in [d]:\Documents and Settings\[user name]\Local Settings\History\, for example, you will find several index.dat files laying around.  (Note: several of the directories that I listed in the path are hidden directories.) 

We (the IE team) get a lot of questions about these files.  The first question is often "What are they?" The answer is quite simple: Index.dat files are binary files that Internet Explorer uses to save information about URLs.  They are basically hash tables that have been optimized to be very fast when dealing with URLs.  Given an URL, these files map the URL to a binary blob of data.  The binary blob of data is different, depending on what the particular index.dat file is used for. 

Index.dat files are for IE's internal usage only.  They are not designed or tested to be used by others.  The functions for interacting with them are private, except things like the UrlCache APIs which provide a layer of abstraction for interacting with some index.dat files.

More on this topic to follow.

Comments

  • Anonymous
    November 18, 2004
    There was talk at a place where I worked that there are index.dat analysis tools that let someone determine the pages you have visited. It was also said that the index.dat file that can't be erased.

    Any truth to either claim? Is index.dat insecure and open to an invasion of privacy?

  • Anonymous
    November 19, 2004
    Ken--

    You have predicted where I am going with this. The short answer: There are tools on the net that let you look at them (Google "index.dat") but they are stored in your user profile so you should not be able to go looking at other peoples. They are difficult to delete but not impossible. I will cover how to delete them soon. Promise. :)

  • Anonymous
    August 03, 2006
    Continuing the discussion in the previous post, offcourse index.dat is not a secret record of any kind,...

  • Anonymous
    August 04, 2006
    Since a recent digg article and its underlying Wikipedia entry seems a little confused about index.dat,...

  • Anonymous
    August 08, 2006
    PingBack from http://www.pcdoctor-guide.com/wordpress/?p=3271

  • Anonymous
    January 22, 2009
    PingBack from http://www.hilpers.it/1855819-salva-immagini

  • Anonymous
    June 13, 2009
    PingBack from http://barstoolsite.info/story.php?id=3821

  • Anonymous
    June 16, 2009
    PingBack from http://lowcostcarinsurances.info/story.php?id=5252