The MSDN states that when a file is uploaded using the ASP.NET ( v.2.0 ) Fileupload control or the underlying HttpPostedFile that "Files are uploaded in MIME multipart/form-data format. By default, all requests, including form fields and uploaded files, larger than 256 KB are buffered to disk, rather than held in server memory." MSDN Link
Does anyone know where on the disk it is buffered to and when this buffer is purged / removed i.e. is it when the request ends and what happens in the case of an error or unexpected scenario where the request doesn't end gracefully?
My concern is that if an application has the ability to upload sensitive information ( CC Data, Personal Data etc ) this file will be buffered on the disk and potentially not removed at the end of the request. Would this be a problem on a shared host i.e. could this buffer be accessed from outside the application?
Maybe I have misunderstood something but any advice / insight / help would be much appreciated, thanks.