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

python at bdurham.com python at bdurham.com
Thu Feb 18 23:19:41 EST 2010


Steven,

Thank you very much for your wonderful reply!! 

I had read the Fine Manual, but as you pointed out the documentation
only mentions visibility of file names.

> Exclusive locks are advisory, not mandatory, on some operating systems, so you can't rely on it. 

That comment and your list of OS specific behaviors were EXACTLY the
type of information I was looking for.

Thanks again!
Malcolm




More information about the Python-list mailing list