- 1、本文档共66页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Android安全编码指南
/confluence/pages/viewpage.action?pageId=11150953550. Android (DRD)Skip to end of metadataCreated by?Robert Seacord, last modified by?David Svoboda?on?Oct 20, 2014Go to start of metadataThe following rules and guidelines are?specific only to the Android platform. These?do not apply to the development of Java or C programs for?non-Android platforms.?(The full set of Android -relevant rules and guidelines?are?here.)?The term?sensitive?incorporates the Java glossary definition ofsensitive data, as well as the Android concept of permission-protected.DRD00-J. Do not store sensitive information on external storage (SD card) unless encrypted firstDRD01-J. Limit the accessibility of an apps sensitive content providerDRD02-J. Do not allow WebView to access sensitive local resource through file schemeDRD03-J. Do not broadcast sensitive information using an implicit intentDRD04-J. Do not log sensitive informationDRD05-J. Do not grant URI permissions on implicit intentsDRD06-J. Do not act on malicious intentsDRD07-J. Protect exported services with strong permissionsDRD08-J. Always canonicalize a URL received by a content providerDRD09-J. Restrict access to sensitive activitiesDRD10-J. Do not release apps that are debuggableDRD11-J. Ensure that sensitive data is kept secureDRD12-J. Do not trust data that is world writableDRD13-J. Do not provide addJavascriptInterface method access in a WebView which could contain untrusted content. (API level JELLY_BEAN or below)DRD14-J. Check that a calling app has appropriate permissions before respondingDRD15-J. Consider privacy concerns when using Geolocation APIDRD16-J. Explicitly define the exported attribute for private componentsDRD17-J. Do not use the Android cryptographic security provider encryption default for AESDRD18-J. Do not use the default behavior in a cryptographic library if it does not use recommended practicesDRD19-J. Properly verify server certificate on SSL/TLSDRD20-J. Specify permissions when creating files via the NDKDR
文档评论(0)