Expires link with woocommerce

Hi all,
When placing the link in the woocommerce, the user can copy from his owncloud and reload the file.
I manage 2 websites with 2 different domains. My question is
How set users can not download from owncloud direct link in the product 3 days after purchase.
When the download limit is set 3 days in the woocommerce .I have a lot of products.
Looking forward to your answers.

Using the sharing API you can set an expiration date for a public link share.