Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to hide the sensitive information when i click the dynamic link in browser

I just created a short dynamic link for this url https://m.example.com/invitation?gameid=1234&referrer=555. It is working fine, but when i click the shortlink in browser it is directing to my page but it is showing all the sensitive information like gameId and referrer in browser address bar. I don't want to show that. Is there any way to show short link even when i click the shortlink in browser also or anyway to hide the sensitive information.

like image 930
Naga Lokesh Kannumoori Avatar asked Sep 15 '25 02:09

Naga Lokesh Kannumoori


1 Answers

Firebase Dynamic Links do not provide mechanism to hide link data from person who have access to the link. In addition to exposing the link content in browser address bar (as you already found out), any person can get link details by going to link debug page https://firebase.google.com/docs/dynamic-links/debug . Append ?d=1 or &d=1 to the link to get here.

If you need to hide information, you can consider encrypting the information, like https://m.example.com/invitation?encrypted_data=<base64 data here>

Another option is to store data in database and having only data identifier in your link, like https://m.example.com/invitation?data_id=<identifier>

If you think your use case is important or widely used, feel free to open Firebase support ticket. We always open to feature requests and suggestions how to improve our product.

like image 61
Oleksiy Ivanov Avatar answered Sep 16 '25 17:09

Oleksiy Ivanov