Jump to content

Temporary Internet Files: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Adding short description: "Windows browser cache folder"
 
(32 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{{Short description|Windows browser cache folder}}
{{unreferenced|date=December 2010}}
{{refimprove|date=July 2021}}

'''Temporary Internet Files''' is a [[Folder (computing)|folder]] on [[Microsoft Windows]] which holds [[browser cache]]s. The directory is used by [[Internet Explorer]] and other [[web browser]]s to cache pages and other multimedia content, such as video and audio files, from websites visited by the user. This allows such websites to load more quickly the next time they are visited. Not only web browsers access the directory to read or write, but also [[Windows Explorer]] and [[Windows Desktop Search]].
'''Temporary Internet Files''' is a [[Folder (computing)|folder]] on [[Microsoft Windows]] which serves as the [[browser cache]] for [[Internet Explorer]] to cache pages and other multimedia content, such as video and audio files, from websites visited by the user. This allows such websites to load more quickly the next time they are visited.


== Overview ==
== Overview ==
Each time a user visits a website using Microsoft Internet Explorer, files downloaded with each web page (including [[html]], [[ipt|JavaScript scripts]]) are saved to the Temporary Internet Files folder, creating a [[web cache|cache]] of the web page on the local computer's [[hard disk drive|hard disk]], or other form of digital data storage. The next time the user visits the cached website, only changed content needs to be downloaded from the Internet; the unchanged data is available in the cache.
Each time a user visits a website using Microsoft Internet Explorer, files downloaded with each web page (including [[HTML]] and [[JavaScript|Javascript]] code) are saved to the Temporary Internet Files folder, creating a [[web cache]] of the web page on the local computer's [[hard disk drive]], or other form of digital data storage. The next time the user visits the cached website, only changed content needs to be downloaded from the Internet; the unchanged data is available in the cache.


Despite the name 'temporary', the cache of a website remains stored on the hard disk until the user manually clears the cache. This is often regarded as a privacy issue [http://www.milincorporated.com/a-temporary-internet-files.html] [http://www.pchell.com/support/privacy.shtml], because anyone with access to the computer can view the cache. The contents of the folder are indexed using an [[index.dat]] file, a form of database.
Despite the name 'temporary', the cache of a website remains stored on the hard disk until the user manually clears the cache, the cache expires or if the cache is full. This is often regarded as a [[data privacy|privacy]] issue,<ref>{{Cite web|title=Temporary Internet Files|url=http://www.milincorporated.com/a-temporary-internet-files.html|access-date=2021-07-23|website=www.milincorporated.com}}</ref><ref>{{Cite web|title=PC Hell: How to delete temporary internet files, cookies and history files|url=http://www.pchell.com/support/privacy.shtml|access-date=2021-07-23|website=www.pchell.com}}</ref> because anyone with access to the computer can view the cache. The contents of the folder are indexed using an [[index.dat]] file, a form of database.


The Temporary Internet Files cache can be useful in certain situations. For example, if no [[Internet connection]] is available, previously cached websites are still available offline. Certain online media files (such as embedded Flash movies) are not easily accessed directly through Internet Explorer, but are automatically saved into the cache after viewing them. Depending on the type of website and how often it is updated, the cached data may not reflect the online version of the website. The cache is also useful for police to collect [[forensic identification|forensic evidence]].
The Temporary Internet Files cache can be useful in certain situations. For example, if no [[Internet connection]] is available, previously cached websites are still available offline. Certain online media files (such as embedded Flash movies) are not easily accessed directly through Internet Explorer, but are automatically saved into the cache after viewing them. Depending on the type of website and how often it is updated, the cached data may not reflect the online version of the website. The cache is also useful for police to collect [[forensic identification|forensic evidence]].
Line 13: Line 13:


=== Windows XP ===
=== Windows XP ===
On [[Windows XP]], the cache is usually located at '''<tt>%USERPROFILE%\Local Settings\Temporary Internet Files</tt>''' (where '''<tt>%USERPROFILE%</tt>''' is an [[environment variable]] pointing to the root directory of the logged-in user's [[user profile]]). However, the cache may be moved by changing a value in the registry. Occasionally an additional (hidden) cache named "Temporary Internet Files" may appear in '''<tt>%USERPROFILE%\Local Settings\Temp\Temporary Internet Files</tt>''' or in '''<tt>%USERPROFILE%\Local Settings\Temporary Internet Files</tt>'''. This location can only be deleted by manually accessing the folder and removing it.
On [[Windows XP]], the cache is usually located at {{mono|%USERPROFILE%\Local Settings\Temporary Internet Files}} where {{mono|%USERPROFILE%}} is an [[environment variable]] pointing to the root directory of the logged-in user's [[user profile]]). However, the cache may be moved by changing a value in the registry. Occasionally an additional (hidden) cache named "Temporary Internet Files" may appear in {{mono|%USERPROFILE%\Local Settings\Temp\Temporary Internet Files}} or in {{mono|%USERPROFILE%\Local Settings\Temporary Internet Files}}. This location can only be deleted by manually accessing the folder and removing it.


One scenario that often (albeit not always) leads to the occurrence of this phenomenon proceeds as follows:
One scenario that often (albeit not always) leads to the occurrence of this phenomenon proceeds as follows:
1. [[Malware]]:
2. [[Spyware]]: This is an aid that gathers
3
# User A runs Internet Explorer from his own account, but under the credentials of user B. This is achieved by using the [[runas]] command, e.g. {{code|runas /user:B iexplore.exe}}. The functionality of runas is provided and supported by Windows XP Secondary Logon service.
# User A quits Internet Explorer and logs out of his account. However, due to a bug in Windows XP, the [[svchost.exe]] process that hosts the Secondary Logon service retains the ownership of critical Internet Explorer data files belonging to user B and located in B's profile directories (for example, index.dat file located in {{mono|%USERPROFILE%\Local Settings\Temp\Temporary Internet Files\Content.IE5}} directory). For this reason these files remain inaccessible for writing.
# User B logs into his account and runs Internet Explorer. Internet Explorer is unable to obtain write access to the aforementioned files, which makes it quietly recreate the supporting directories under the current {{mono|%TEMP%}} location as a fail-safe measure. The data from the original directories is not copied to the new ones. Internet Explorer will continue to use the directories under {{mono|%TEMP%}} until the files at the original location become writable again.


The only known way to release the lock on the aforementioned files is to reboot the OS. One can also kill the offending instance of svchost.exe, thus releasing the lock, but this normally renders the machine unusable, since it also terminates all the services hosted by the same instance of svchost.exe.
# User A runs Internet Explorer from his own account, but under the credentials of user B. This is achieved by using the [[runas]] command, e.g. '''runas /user:B iexplore.exe'''. The functionality of '''runas''' is provided and supported by Windows XP '''Secondary Logon''' service.
# User A quits Internet Explorer and logs out of his account. However, due to a bug in Windows XP, the [[svchost.exe]] process that hosts the '''Secondary Logon''' service retains the ownership of critical Internet Explorer data files belonging to user B and located in B's profile directories (for example, '''index.dat''' file located in '''%USERPROFILE%\Local Settings\Temp\Temporary Internet Files\Content.IE5''' directory). For this reason these files remain inaccessible for writing.
# User B logs into his account and runs Internet Explorer. Internet Explorer is unable to obtain write access to the aforementioned files, which makes it quietly recreate the supporting directories under the current '''%TEMP%''' location as a fail-safe measure. The data from the original directories is not copied to the new ones. Internet Explorer will continue to use the directories under '''%TEMP%''' until the files at the original location become writable again.


Also, the Windows Webclient (MRxDAV) is, however, known to create temporary copies of downloaded files under {{mono|C:\Documents and settings\LocalService\Temp\Temporary Internet Files\Content.IE5}}.
The only known way to release the lock on the aforementioned files is to reboot the OS. One can also kill the offending instance of '''svchost.exe''', thus releasing the lock, but this normally renders the machine unusable, since it also terminates all the services hosted by the same instance of '''svchost.exe'''.

Also, the Windows Webclient (MRxDAV) is, however, known to create temporary copies of downloaded files under '''<tt>C:\Documents and settings\LocalService\Temp\Temporary Internet Files\Content.IE5</tt>'''.


=== Windows Vista ===
=== Windows Vista ===


On [[Windows Vista]], the cache for [[Internet Explorer 7]] is usually located at '''<tt>%LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5</tt>''' where '''<tt>%LOCALAPPDATA%</tt>''' is an environment variable pointing to '''<tt>%USERPROFILE%\AppData\Local</tt>''' (note that the checkbox for 'Hide protected operating [[Attribute (computing)|system files]]' under 'Folder Options' must be unchecked and the 'Show [[hidden file]]s and folders' option enabled for the files to be visible in [[Windows Explorer]]). For all other [[Trident (layout engine)|Trident]]-based applications, the cache is located at '''<tt>%LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files</tt>'''. Like on Windows XP, the location of the cache can be changed by moving the folder location in Internet Explorer or by changing a value in the registry.
On [[Windows Vista]], the cache for [[Internet Explorer 7]] is usually located at {{mono|%LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5}} where {{mono|%LOCALAPPDATA%}} is an environment variable pointing to {{mono|%USERPROFILE%\AppData\Local}} (note that the checkbox for 'Hide protected operating [[Attribute (computing)|system files]]' under 'Folder Options' must be unchecked and the 'Show [[hidden file]]s and folders' option enabled for the files to be visible in [[Windows Explorer]]). For all other [[Trident (layout engine)|Trident]]-based applications, the cache is located at {{mono|%LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files}}. Like on Windows XP, the location of the cache can be changed by moving the folder location in Internet Explorer or by changing a value in the registry.

==References ==
{{Reflist}}


== External links ==
*[http://www.practicalpc.co.uk/computing/comms/tempfiles.htm Guide to Temporary Internet File settings in IE]


{{Internet Explorer}}
{{Internet Explorer}}


[[Category:Internet Explorer]]
[[Category:Internet Explorer]]
[[Category:Microsoft Windows]]
[[Category:Windows files]]

[[fr:Fichiers Internet temporaires d'Internet Explorer]]
[[ur:عارضی ملفات جالبین]]

Latest revision as of 16:18, 8 December 2022

Temporary Internet Files is a folder on Microsoft Windows which serves as the browser cache for Internet Explorer to cache pages and other multimedia content, such as video and audio files, from websites visited by the user. This allows such websites to load more quickly the next time they are visited.

Overview

[edit]

Each time a user visits a website using Microsoft Internet Explorer, files downloaded with each web page (including HTML and Javascript code) are saved to the Temporary Internet Files folder, creating a web cache of the web page on the local computer's hard disk drive, or other form of digital data storage. The next time the user visits the cached website, only changed content needs to be downloaded from the Internet; the unchanged data is available in the cache.

Despite the name 'temporary', the cache of a website remains stored on the hard disk until the user manually clears the cache, the cache expires or if the cache is full. This is often regarded as a privacy issue,[1][2] because anyone with access to the computer can view the cache. The contents of the folder are indexed using an index.dat file, a form of database.

The Temporary Internet Files cache can be useful in certain situations. For example, if no Internet connection is available, previously cached websites are still available offline. Certain online media files (such as embedded Flash movies) are not easily accessed directly through Internet Explorer, but are automatically saved into the cache after viewing them. Depending on the type of website and how often it is updated, the cached data may not reflect the online version of the website. The cache is also useful for police to collect forensic evidence.

The cache can be cleared by using Internet Options within the Internet Explorer interface, but this method is subject to deletion privacy issues. Many alternative tools exist to erase the data instead.

Windows XP

[edit]

On Windows XP, the cache is usually located at %USERPROFILE%\Local Settings\Temporary Internet Files where %USERPROFILE% is an environment variable pointing to the root directory of the logged-in user's user profile). However, the cache may be moved by changing a value in the registry. Occasionally an additional (hidden) cache named "Temporary Internet Files" may appear in %USERPROFILE%\Local Settings\Temp\Temporary Internet Files or in %USERPROFILE%\Local Settings\Temporary Internet Files. This location can only be deleted by manually accessing the folder and removing it.

One scenario that often (albeit not always) leads to the occurrence of this phenomenon proceeds as follows: 1. Malware: 2. Spyware: This is an aid that gathers 3

  1. User A runs Internet Explorer from his own account, but under the credentials of user B. This is achieved by using the runas command, e.g. runas /user:B iexplore.exe. The functionality of runas is provided and supported by Windows XP Secondary Logon service.
  2. User A quits Internet Explorer and logs out of his account. However, due to a bug in Windows XP, the svchost.exe process that hosts the Secondary Logon service retains the ownership of critical Internet Explorer data files belonging to user B and located in B's profile directories (for example, index.dat file located in %USERPROFILE%\Local Settings\Temp\Temporary Internet Files\Content.IE5 directory). For this reason these files remain inaccessible for writing.
  3. User B logs into his account and runs Internet Explorer. Internet Explorer is unable to obtain write access to the aforementioned files, which makes it quietly recreate the supporting directories under the current %TEMP% location as a fail-safe measure. The data from the original directories is not copied to the new ones. Internet Explorer will continue to use the directories under %TEMP% until the files at the original location become writable again.

The only known way to release the lock on the aforementioned files is to reboot the OS. One can also kill the offending instance of svchost.exe, thus releasing the lock, but this normally renders the machine unusable, since it also terminates all the services hosted by the same instance of svchost.exe.

Also, the Windows Webclient (MRxDAV) is, however, known to create temporary copies of downloaded files under C:\Documents and settings\LocalService\Temp\Temporary Internet Files\Content.IE5.

Windows Vista

[edit]

On Windows Vista, the cache for Internet Explorer 7 is usually located at %LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5 where %LOCALAPPDATA% is an environment variable pointing to %USERPROFILE%\AppData\Local (note that the checkbox for 'Hide protected operating system files' under 'Folder Options' must be unchecked and the 'Show hidden files and folders' option enabled for the files to be visible in Windows Explorer). For all other Trident-based applications, the cache is located at %LOCALAPPDATA%\Microsoft\Windows\Temporary Internet Files. Like on Windows XP, the location of the cache can be changed by moving the folder location in Internet Explorer or by changing a value in the registry.

References

[edit]
  1. ^ "Temporary Internet Files". www.milincorporated.com. Retrieved 2021-07-23.
  2. ^ "PC Hell: How to delete temporary internet files, cookies and history files". www.pchell.com. Retrieved 2021-07-23.