How to change upload destination from public to private when there are uploaded files in database?
$dest = 'private://';
$file = file_move($file, $dest)


Change individual file from public to private and vice-versa