3 ms·
Honest question: what security principles does this violate?
by darkerside 10y ago
Honest question: what security principles does this violate?
- Karunamon 10y ago/tmp generally has more open permissions than the rest of the file system, and if you're using a known file name, you're open to that file being abused by an attacker. I know of no good reason to not use mktemp.