Hi @johnw65 ,
My first question: Would it be an issue if the file is publicly accessible if the URL is known? If not: You can upload the files directly in the public dir.
In config/filesystems.php you would have to add a new disk:
'public_uploads' => [
'driver' => 'local',
'root' => public_path() . '/uploads',
],
And store files like this:
if(!Storage::disk('public_uploads')->put($path, $file_content)) {
return false;
}
No symlinks needed to access the newly uploaded files, but they are accessible for everyone that knows the url.