private function getRandomTmpPluginDownloadFilename()
{
$tmpPluginPath = StaticContainer::get('path.tmp') . '/latest/plugins/';
// we generate a random unique id as filename to prevent any user could possibly download zip directly by
// opening $piwikDomain/tmp/latest/plugins/$pluginName.zip in the browser. Instead we make it harder here
// and try to make sure to delete file in case of any error.
$tmpPluginFolder = Common::generateUniqId();
return $tmpPluginPath . $tmpPluginFolder . '.zip';
}