...
- Temporary files must be created with unique and unpredictable file names
- Temporary files must be opened with exclusive access
- Temporary files must be removed before the program exits
- The file must be opened with appropriate permissions.
...
...
...