Approved Download Directories

We plan on including a new Approved Download Directories feature in WooCommerce 6.5 (scheduled for May 10) to give site owners additional control over product downloads. You may be particularly interested in this if you:

  • Maintain a theme, plugin, or service that integrates with product downloads.
  • Operate a site that sells downloadable products.

This advisory contains a brief synopsis of the change: full documentation is available here for those needing more detail.

The Details

We already provide several safety features concerning product downloads (for example, downloadable files must be of an allowed file type before they can be added to a product) and, with Approved Download Directories, we are making a further layer of protection available that will allow site owners to specify a set of trusted locations in which all downloadable files must be stored.

This screenshot shows the new UI that site administrators will be able to access in order to manage the list of trusted locations (it will be found in WooCommerce ▸ Settings ▸ Products ▸ Approved Download Directories).

Merchants might for example use this to ensure that downloadable files are always stored in locations to which they have full read/write access.

The feature is optional and can be enabled (or disabled) at any time. Our plan is to enable it out-of-the-box for new installations, starting with WooCommerce 6.5, but make it opt-in for existing stores that upgrade from earlier versions.

How can I tell if this affects me?

If you are a developer responsible for a plugin, theme or component that integrates with product downloads, or if you operate a site that sells downloadable products, you may wish to perform some additional testing to detect potential problems ahead of the 6.5 release.

What action should I take?

Consider testing the new feature in a staging or testing environment prior to May 10. The feature is already present in our trunk branch on GitHub, and we expect it will be included in the upcoming beta build (scheduled for April 19), too.


Keep yourself in the loop!

This field is hidden when viewing the form
This field is hidden when viewing the form
This field is hidden when viewing the form


2 responses to “Approved Download Directories”

  1. Hi there
    I do not want to sell downloadable digital products.
    The opposite. I want to prevent downloading.

    But I want to sell streaming videos.
    Does wooCommerce have a solution for this?
    Regards. Dan.

    1. Brent MacKinnon Avatar
      Brent MacKinnon

      WooCommerce doesn’t natively support streaming, but you can still sell access to streaming videos. You could host videos on a platform like Vimeo with restricted access to prevent downloads, and use WooCommerce Memberships or Subscriptions to control access to the video pages.

Leave a Reply

Your email address will not be published. Required fields are marked *