How to restrict user access to "upload" file
-
On my site, I have a “resource” page where I have uploaded some documents using the “media” tab. I have uploaded various .pdf files for quick access by clients and staff. When a client clicks on the .pdf, it leads them to:
http://www.website-name.com/wp-content/uploads/example.pdf
The problem is, if someone removes the “/example.pdf” it leads them to:
http://www.website-name.com/wp-content/uploads/
And now they can access the index of all of my media uploads which includes my logo, pictures and other things I do not want users to access.
Any ideas on how I can restrict access to this with people simply deleting the end of the extension?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to restrict user access to "upload" file’ is closed to new replies.