Back to Security Pattern Catalog
Unique Location for each Write Request
: Core Security, Tampering
Many processes need to add information to a shared resource concurrently.
How do we ensure that multiple write operations are handled correctly and even if there is a crash no trace is left of the failure?
Create unique files for each write request. Thus, different processes are never writing on the same file at the same time.
qmail queue and local mailbox creates unique files for each incoming mails.
Hafiz et. al.
Last modified: May 05, 2012
and Maintained by: Munawar Hafiz