Can I delete the files in the update directory once the update is completed?
PermalinkTypically the biggest security problems I see are poor programming which allows malicious code to write to these directories (and in concrete5's case if this happens they could just as easily go inject their code into the cache files or uploads directories) or poor server setup and bad file permissions (such as allowing users access outside of their home directories and setting the updates folder to a chmod of 777 which then lets other users access your site).
define('DIRNAME_APP_UPDATED', 'concrete5.6.1');
I will frequently go through and delete old updates after some time has passed and I know that the newly updated site is working and I won't need to revert.
The only way the files can be deleted from the update directory is if you replace the root/concrete folder with the one in the update directory AND amend your site.php accordingly....