Access Denied in v4.5.92
-
There’s still an similar issue described in this topic
Namely, if (for security reasons) files are located OUTSIDE the website root and NOT in the wp-content folder, they cannot be downloaded – an “Access Denied” error appears. The website has access to this folder, so absolute path need to be supported as it did in the all previous versions.
For example, if the WP installation is at the location:
“/var/www/example.com/htdocs”
and files are located at the location:
“/var/www/example.com/private/files”
in case that a file “/var/www/example.com/private/files/sample-download.zip” need to be downloaded the error appears.
Please notice that this absolute path logic works for product downloads in WooCommerce, so there’s no reason for removing it from Download Monitor. The security regarding accessing this folder should be handled on the server level, not in the module itself.
Also, I kindly ask you to mark breaking backward compatibility in the change logs in the future.
- The topic ‘Access Denied in v4.5.92’ is closed to new replies.