Skip to main content
  Thursday, February 28 2019
  1 Replies
  1.3K Visits
  Subscribe
Is there a way to protect uploaded files to prevent direct access? For instance, if I upload PDFs to the media library, I'd like to prevent people from accessing the pdf link directly (http://www.mysite.com/wp-content/uploads/filename.pdf)

In my case, I'd like to restrict access to PDFs to users who are logged in.

Thanks
A
5 years ago
Hi,

Thanks for contacting us here about this extension.
Is there a way to protect uploaded files to prevent direct access? For instance, if I upload PDFs to the media library, I'd like to prevent people from accessing the pdf link directly (http://www.mysite.com/wp-content/uploads/filename.pdf)

In my case, I'd like to restrict access to PDFs to users who are logged in.

You should customize or hire a freelancer with your purpose.
For more information: https://hostadvice.com/how-to/how-to-protect-the-wp-content-folder-of-your-wordpress-website/

Hope it helps!
Cheers,
  • Page :
  • 1
There are no replies made for this post yet.