I currently have a folder which the public uploads files to.
I want to be able to download these files via a link, but not to be able to browse the upload folder. But at the same time, i need to keep that folder writable for uploads.
What permissions would I need to set?
Cheers,
Doug
Open the
.htaccessfile in your current folder, or create it if it doesn’t exist.If
Options Indexesexists modify it toOptions -Indexesor else addOptions -Indexesas a new line.Save the file and exit.
You might need to restart Apache.