My Problem: I don't want to store uploaded images on my web app server for security reasons. I don't want to make a mistake and if its stored on a separate server that means less things that can go wrong.
The way I understand things, with php when uploading files:
A user uploads it goes to /tmp on server where it is stored temporarily (until php process stops).
In Laravel I can use $request->file('image')->move($destination);
which will move the image to a more permanent location.
With Laravels Filesystem / Cloud Storage https://laravel.com/docs/5.2/filesystem
I suppose I can move the file to cloud storage using that. It would still be stored temporarily in the /tmp folder on local machine for a very short time though.
Is it possible to have the image file be originally uploaded to cloud server instead of the /tmp location on local server?
Or Is my only solution to do this client side with javascript?