...
SEI CERT C++ Coding Standard | VOID FIO15-CPP. Ensure that file operations are performed in a secure directory |
MITRE CWE | CWE-379, Creation of temporary file in directory with insecure permissions CWE-552, Files or directories accessible to external parties |
...
[IEEE Std 1003.1:2013] | XSH, System Interfaces, dirname XSH, System Interfaces, realpath |
[Viega 2003] | Section 2.4, "Determining Whether a Directory Is Secure" |
...