944,146 Members | Top Members by Rank

Ad:
Sep 15th, 2007
0

index.dat file which tracks your surfing habits

Expand Post »
I hope every computer geek will know about index.dat file.

Well my point of view on Privacy that any anonymous hacker should know about you easily. You can clears the IE history, Cookies, Temporary Internet files...but till the URL's you have visited is located under index.dat file. Microsoft have designed that file to track the online surfing behaviour of user but its most vunerable for online Privacy.

Well no more solution to get rid of but i found a way to clears that URL's by Ccleaner, it cleanes it at next system restart.
Similar Threads
Reputation Points: 97
Solved Threads: 20
Veteran Poster
thunderstorm98 is offline Offline
1,108 posts
since Nov 2006
Jan 1st, 2008
0

Re: index.dat file which tracks your surfing habits

Indexdat scanner http://www.extramile.ro/ is a good utility which lets you see what it holds.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
happyandyk is offline Offline
15 posts
since Jan 2008
Jan 1st, 2008
0

Re: index.dat file which tracks your surfing habits

I usually boot to DOS and delete those files manually.
Reputation Points: 1054
Solved Threads: 28
Nearly a Senior Poster
The Dude is offline Offline
3,425 posts
since Dec 2005
Sep 8th, 2008
0

Re: index.dat file which tracks your surfing habits

after booting to dos, how and where would you delete these files from? Sorry for basic quetions, very noob to this.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dellvostro is offline Offline
2 posts
since Sep 2008
Sep 9th, 2008
-6
Re: index.dat file which tracks your surfing habits
Boot to dos and type this

cd windows

deltree /y cookies
deltree /y history
deltree /y tempor~1

and if you want you can delete your swap file by typing


Welcome to the site!
Last edited by The Dude; Sep 9th, 2008 at 11:58 pm.
Reputation Points: 1054
Solved Threads: 28
Nearly a Senior Poster
The Dude is offline Offline
3,425 posts
since Dec 2005
Nov 6th, 2010
0
Re: index.dat file which tracks your surfing habits
C# code to delete the Index.dat file shown below

it's very hit and miss which seems to be a timing isue but the deal is you need to set the attributes on the 'Special Folder' and the file before you try to delete it and thats after you have killed explorer that locks the files.

MS is doing all it can to stay freinds with the CIA!

int DeletedCount = 0;
int CouldNotDelete = 0;
KillExplorer();
foreach (string DatFile in DatFiles)
{//Do not put break point or step into the code else explorer will start and the file will become locked again
DirectoryInfo DInfo=new DirectoryInfo(DatFile.Replace("index.dat",""));
FileAttributes OldDirAttrib = DInfo.Attributes;
DInfo.Attributes = FileAttributes.Normal;//Set to normal else can not delete
FileInfo FInfo = new FileInfo(DatFile);
FileAttributes OldFileAttrib = FInfo.Attributes;
SetAttr(FInfo, FileAttributes.Normal);
TryDelete(FInfo);
SetAttr(FInfo, OldFileAttrib);//Sets back to Hidden,system,directory,notcontentindexed
if (File.Exists(DatFile))
CouldNotDelete++;
else
DeletedCount++;

}
if (DatFiles.Count>0)//Lets get explorer running again
System.Diagnostics.Process.Start(DatFiles[DatFiles.Count - 1].Replace("index.dat", ""));
else
System.Diagnostics.Process.Start("explorer");
System.Windows.Forms.MessageBox.Show("Deleted " + DeletedCount + " Index.dat files with " + CouldNotDelete + " Errors");


return "Deleted " + DeleteFileCount + " Files ";
}

private void KillExplorer()
{
foreach (Process P in Process.GetProcesses())
{//Kill both these process because these are the ones locking the files
if (P.ProcessName.ToLower() == "explorer")
P.Kill();
if (P.ProcessName.ToLower() == "iexplore")
P.Kill();
}
}

private bool TryDelete(FileInfo Info)
{
try
{
Info.Delete();
return true;
}
catch
{return false;}
}

private void SetAttr(FileInfo Info,FileAttributes Attr)
{
try
{
Info.Attributes = Attr;
}
catch { }
}
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Passing is offline Offline
1 posts
since Nov 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in IT Professionals' Lounge Forum Timeline: Install multiple operating systems?
Next Thread in IT Professionals' Lounge Forum Timeline: touch screen





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC