|
Do Not Assume Persistence of Files in Temp
|
bet | 19/49 | Sana | 29.03.2021 | Hajmi | 197,5 Kb. | | #13691 |
Do Not Assume Persistence of Files in Temp
Don’t assume persistence of any files in the Temp folder beyond the current user session on any machine, because administrators can set a policy to delete everything in the Temp folder each time the user logs on. For example, if a recovery file that is regularly updated during an editing session is be stored in the Temp folder it may not be present to restore changes if an application crashes. Also, these types of files are clearly per-user, so they should be saved in the Application Data folder in the User Profile, where the appropriate file security is also in place so others cannot view the file. An administrator in an enterprise environment may also configure Terminal Services to save per user Application Data in a directory on a completely separate file server for recoverability reasons, particularly in a multi-server farm configuration.
|
| |