[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: How secure are temp files created via tempfile.TemporaryFile()?

MRAB

2/18/2010 7:33:00 PM

python@bdurham.com wrote:
> I'm doing a code review of an application that occassionally writes
> blocks of secure data to temp files created with tempfile.TemporaryFile(
> delete=True ).
>
> How secure are temp files created via tempfile.TemporaryFile( delete=True )?
>
> Are there OS specific nuances I should be concerned about regarding use
> of this function on Windows (XP or higher) or Linux?
>
Well, the contents of temp files aren't encrypted, if that's what you're
asking, so if you're writing unencrypted data to a temp file then other
applications could read it.