What steps should I take to protect my Google Maps API Key?

后端 未结 4 1567
太阳男子
太阳男子 2020-11-27 02:56

I have obtained a Google Maps API key for my domain.

The examples provided when I obtained my key show the key embedded in request parameters, for example:



        
4条回答
  •  北海茫月
    2020-11-27 03:24

    You should use back end/server side to protect and handle key. In my case I used Django f/w server side which can serve a ajax call to get the key from server script/db then pass it onto google api.

提交回复
热议问题