I am new to firebase and trying to develop an Ionic2 application using firebase + firebase storage using angularfire2.
I have several PDF files to store, as well as a URL in the firebase database.
I have an authenticated user in the application through firebase auth.
Now, when the user downloads the file on his mobile device, the system will receive the downloadUrl file, and the smart user will be able to view it by viewing it through NeoLoad or any other tool. then he can just share this direct file url with anyone and download this pdf without an application.
1- I want to know if it is possible to restrict access to the file only from the application, so even if it has a url file, it cannot load it.
2- Is it possible to generate a dynamic url that expires after a while or only the URL of a specific user?
thanks
source share