react-native-batch-push icon indicating copy to clipboard operation
react-native-batch-push copied to clipboard

Putting the Inbox secret into the app is a major security issue

Open guenard opened this issue 9 years ago • 1 comments

The Inbox secret is not required to use the Inbox feature at the installation/device-level. It is only required if you want to use the Inbox feature at the user-level (for example if you want a logged-in user to get notifications received on another device in an unified notification center).

And if you plan to use the Inbox at the user-level, the secret should still be kept private on your server and used to generate a hash that is then sent back to the app through your own webservice. If someone find your Inbox secret (eg: by reverse-engineering the app), he could read private notifications of all your logged-in users (assuming that he knows the user Custom ID).

On another note, thank you so much for your work on this React Native plugin!

guenard avatar Oct 24 '17 09:10 guenard

Thanks @guenard, will update ASAP!

Minishlink avatar Oct 24 '17 10:10 Minishlink