Discussion Locked

Why is the 'Temporary Internet Files' Folder System Protected in Vista?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In Windows Vista, the 'Temporary Internet Files' folder is located at:
C:\Users\Owner\AppData\Local\Microsoft\Windows\Temporary Internet Files

But to access the index.dat file, you will have to type in Explorers address bar the following location and click go:
C:\Users\Owner\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5
Only then will you be able to see the index.dat file. Conclusion ? The Content.IE5 folder is 'super' hidden!

Now the question which naturally arises is: Why did Microsoft decide to give the status of a Protected System Files / Folder to it?

The 'Temporary Internet Files' folder (Cache) is, after all, a hotbed and a breeding ground for Virus's, Trojan Downloaders and other malware downloaded from the internet. Apart from your 'Windows' folder, this is one folder where one can expect to find most such malware files. So why is such a 'hotbed' being given such protection, when even some Windows dll's are not accorded such privileges!

Browsing the net can expose one to certain security risks. You could end up with Spyware on your PC or have a Trojan downloader surreptitiously download an unwanted program or you could even find your browser hijacked! By clicking a link, innocently, in an e-mail or even mistyping a web address, can find your browser visiting a 'hostile' site.

To mitigate against these threats, IE 7 in Vista runs in Protected Mode. And the Cache is now considered as a virtual folder with the same low privilege as that of the Internet Explorer process itself.

Generally speaking, in Vista, processes run with integrity levels as defined by MIC (Mandatory Integrity Control) Feature. 'Protected Mode' Internet Explorer, runs as a 'Low Privilege' process. This prevents the Internet Explorer from writing to areas of the file system or the Registry that require a higher privilege!

What happens, is that, Vista creates a set of folders and files, for use with Protected Mode' Internet Explorer. These folders and files share the same Low Privilege level as Internet Explorer.

These 4 'low privilege' folders, used by IE7 in Vista, in the course of daily operation, are Cache, Cookies, History & Temp.
%LocalAppData%\Microsoft\Windows\Temporary Internet Files\Low
%AppData%\Microsoft\Windows\Cookies\Low
%LocalAppData%\Microsoft\Windows\History\Low
%LocalAppData%\Temp\Low

Vista also creates Virtual Folders to store files that Internet Explorer tries to save in protected locations. So, instead of causing an 'add-on' to fail when it tries to write a data file to the Windows folder or Program Files, Vista redirects the write operation to a virtual equivalent.

Thus, the program continues to operate, believing that it wrote the files to the system location; little realizing that the data actually got written in a virtualized hidden folder, that mirrors the actual path and is stored under the 'Temporary Internet Files' folder.

In a similar fashion, if there is any attempt to write to the registry, it is redirected to a Low-integrity area of the registry.

Extract From : http://www.winvistaclub.com/f11.html

5 replies

by nicknielsen

Microsoft has protected the content of the Temporary Internet Files folder in this manner since Windows 95. Although the directory is visible, the contents are not visible until you expand each subdirectory in the folder window. These files can consume hard drive space, too!

I had always suspected that MS did not fully clear these folders when you cleared the cache, but was never able to confirm it until shortly after I downloaded my first live Linux. I cleared the IE cache, booted to the live CD, and browsed my hard drive to the Temporary Internet Files directory. The "invisible" contents of the Temporary Internet Files directory still consumed over 1300 MB of my 20 GB hard drive [b]after[/b] I had "cleared."

by johnh1803

In Vista, if you created a user account with your name, as most users do, it stores your temporary internet files in the Default folder. So the correct path would be:

C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files

As you can see, it is located in the Default folder not the Owner folder.

This discussion is closed to new replies.