Google Maps API KEY Злоупотребление с использованием BOTNET + APK - PullRequest
0 голосов
/ 12 апреля 2019

Я собираюсь сделать приложение, которое использует Google Maps API.Мы все знаем, что он не бесплатен для поиска и т. Д.

Этот ключ API необходимо сохранить в коде приложения, который может быть переработан и извлечен.

Что если кто-то использует ботнет + мойapk-файл для слива моей учетной записи Google Maps?

1 Ответ

0 голосов
/ 12 апреля 2019

Вы можете увидеть счет на большую сумму в $$, если ваш ключ API не ограничен.

Для его ограничения выполните следующие действия:

Чтобы установить ограничение приложения для ключа API

Visit the credentials panel.

Select the API key that you want to set a restriction on. The API key property      page appears.

Under Key restrictions, select Application restrictions.

Select one of the restriction types and supply the requested information following the restriction list.

Android apps    


Add your package name and SHA-1 signing-certificate fingerprint to restrict usage to your Android app.

Below the types, add the SHA-1 signing-certificate fingersprint and your Android package name from your AndroidManifest.xml file.


iOS apps    

Accept requests from the iOS app with the bundle identifier that you supply.

Below the types, select the appropriate iOS bundle identifier from the list.



Click Save.


The restriction becomes part of the API key definition after this step. If you fail to provide the appropriate details or do not click “Save”, the API key will not be restricted.
...