File protection on a WordPress website

Questions ArchiveCategory: SecurityFile protection on a WordPress website
Laszlo Csomor asked 2 years ago

I am building a WP website and I have some e-books which I would like to protect in a way that only paying customers could download them. I thought that I would place the download links on dedicated pages which can only be accessed by approved users. For the approval, I thought I would use the Ultimate Member plugin.
However, if I simply place a link to the file that link could be easily shared or posted anywhere so somehow I should “encrypt” the links or make them protected in some other way.
Can you suggest an easy solution for that?
Thanks in advance,