How to keep firebase storage or cloudanary links safe

I am going to make an app in which i want to play media in my app only

I want to do that if someone got links of my media then they can not able to play media in other apps