Hi all,
I’m looking to change the location of my uploads directory so that it is outside of my site’s web root. This is for security purposes. I would like to configure it to be something like /my-custom-uploads-dir/
which is protected by antivirus, then have a .htaccess
rule which redirects GET requests to <my_site>/app/uploads/<path_to_file>
through an interface which reads the contents from my custom folder, performs checks and presents the safe
file back to the requester.
I believe that this is possible, but I’m really not sure about how I would set it up using Bedrock/Sage9, so any help would be really appreciated.
Just as a side note, this also must work with Advanced Custom Fields - I’m pretty sure it will anyway but that forms a fairly crucial part of my toolset.
Many thanks
Kevin