1: 2: 3: 4: 5: 6: 7:
if ($authorized) { send ('/home/vhosts/mydomain.com/private/res/download.zip'); } else { echo 'Access denied.'; exit; }