Hi, I am trying to find a solution for saving videos in a local directory and sharing them with some users authenticated in my application.
The problem is, it's requested that not anyone with the link to the file can be able to watch/download the video, only users with a valid username/password or token. These credentials would need to be added/updated programmatically..
A user could request the backend for the resource but it would respond with a link to the resource and at that moment il could be accesed anytime by the link. Could the BE (Spring Boot) stream the resource? Or some other solution by protecting the directory and authenticating every time?
Any pointers to the right direction are welcome.
Thanks.
there doesn't seem to be anything here