Protecting downloads
-
Hi,
I found that I can download a file uploaded to WooCommerce from any device when I’m not logged in and have the link directly to the file.
I have the following set up:
- Force downloads
- downloads require login
- append a unique filename
When I discovered this, I changed the settings to not allow guest checkout, and I found that I needed to “start applying rules” in the downloadable directories settings in WooCommerce.
The .htaccess for the folder has deny from all.
I did read the article here:
https://woocommerce.com/document/digital-downloadable-product-handling/My web hosting provider says they cannot do any customization in NGNIX as described in the article.
How can I protect the files in the woocommerce_uploads directory? I don’t want to completely block access to everything in the uploads directory?
- The topic ‘Protecting downloads’ is closed to new replies.