CLOUDIFY-2075 security declarations for upload and templates controllers.