I have a website, let's call it "www.somewhere.com
This website has a directory called "orderuploads" into which people can upload files using my website.
These uploaded files must only be accessible by one URL "www.somewhere.com/uploadorders.php
Accessing the uploaded files directly like "www.somewhere.com/orderuploads/image.jpg
" via a browser must be prevented.
From what I can gather, htaccess must be used with a rewrite but can someone please provide the necessary code?
Thanks in advance