Can someone offer advice as to how to setup a folder below root (outside of public_html) where I can securely place videos?

Currently, my website allows for the purchase and subsequent download of a video. My download folder is below root (outside of public_html). I want to do something similar with another folder where I can securely store videos that can be streamed to authorized buyers. I want those videos to be secure from direct URL access, etc.

I'm running on a Linux server but my limited understanding of .htaccess files leads me think that they may not be the answer. I could do a redirect but I'm not sure that is sufficient. Right now, I have a video folder in public_html that contains the videos but not securely.

I know there is likely some coding involved which I'm willing to do. I'm not a great coder but am willing to try.

Any suggestions to my question or alternative methods appreciated.

Thanks,

Dustin