MSDN states that when downloading a file using the ASP.NET Fileupload control (v.2.0) or the HttpPostedFile base file, which "Files are downloaded in the MIME format multipart / form-data. By default, all requests, including the form of the field and the downloaded files more than 256 KB in size are buffered to disk and not stored in server memory. " MSDN Link
Does anyone know where on disk it is buffered and when this buffer is cleared / deleted, i.e. when does the request end and what happens in the event of an error or unexpected scenario when the request does not end gracefully?
I am concerned that if the application is able to send confidential information (CC data, personal data, etc.), this file will be buffered on disk and potentially not deleted at the end of the request. Will this be a problem on a shared host, that is, can this buffer be accessible from outside the application?
Maybe I didn’t understand something, but any advice / understanding / help would be greatly appreciated, thanks.
Ads
source
share