Security: use mkstemp in various locations

Version 1.47


the copyFile function will now use mkstemp to create a file on the side first, then rename the destination file out of the way. Doing a direct write to the destination was not as secure. Report: DA-0298

Interested to try DirectAdmin? Get a 30-day Free Trial!