How can I create an authentication to prevent direct access to any video that is inside a specific folder on the server?
Ex:
Let's say I have a URL: www.domain.com/video/namevideo.mp4
However, I have an application that accesses this URL, but I do not want it to be exposed for anyone to access.
How can I create an authentication to allow only my application to have access to the videos contained in this folder on my server?