首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用僵尸网络+ APK的Google Maps API密钥滥用

使用僵尸网络+ APK的Google Maps API密钥滥用
EN

Stack Overflow用户
提问于 2019-04-12 19:01:56
回答 1查看 327关注 0票数 0

我要做一个应用程序,其中使用谷歌地图API。我们都知道这不是免费的搜索等等。

此API密钥需要保存在应用程序代码中,可以进行逆向工程和提取。

如果有人使用僵尸网络+我的apk文件来排空我的Google Maps帐户怎么办?

EN

回答 1

Stack Overflow用户

发布于 2019-04-12 19:10:17

如果您的$$密钥不受限制,您可以看到API高额账单。

要进行限制,请按照以下步骤操作:

为API密钥设置应用程序限制

代码语言:javascript
复制
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.
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55650183

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档