EDD Easy digital downloads
How to restrict downloading of some contents
Perhaps you can do that with Easy Digital Downloads and restrict content pro
For example there’s an addon which connects the two and make products in a EDD store free for a selected membership subscription. Also, there’s an add-on to sell physical products in EDD. So, they subscribe for a membership and then they will have all the products in EDD included with their membership available to select for free.