At the moment I have a website hosted on GitHub pages which uses firebase. This has my API key publicly available. How do I add an extra layer of security to stop it from being shown?
An idea:
Currently
FIREBASE <------------> USER
Maybe more secure
FIREBASE <-------> SERVER <-------> USER This would only let the user get info from firebase if the server approves it and gives data to the user.
If the second option is the way to go, which server provider would you recommend?