Uploaded files stored in images
Posted: 2018-02-03 06:53
Is there a specific reason why uploaded files are stored locally on the images folder?
I understand from a database performance point of view, we don't want to have all the files in the db. The actual images folder however is not protected at all, and at some point users will copy the URL that gets redirected from link.php, and use it, and there's nothing to stop it.
Second issue I can see, is in a load-balanced environment, you're bound to have issues, unless you sync the images folder across all the web servers.
I would really like to see an option on the File Upload feature, to indicate that the file should be loaded into the database instead of into the images folder. There are certainly cases where we need to do that.
I understand from a database performance point of view, we don't want to have all the files in the db. The actual images folder however is not protected at all, and at some point users will copy the URL that gets redirected from link.php, and use it, and there's nothing to stop it.
Second issue I can see, is in a load-balanced environment, you're bound to have issues, unless you sync the images folder across all the web servers.
I would really like to see an option on the File Upload feature, to indicate that the file should be loaded into the database instead of into the images folder. There are certainly cases where we need to do that.