两个应用程序相同的签名应用程序或不同的签名应用程

时间:2015-04-03 08:11:20

标签: android security

我有两个Android应用程序,App A和App B.

这两者必须以安全的方式相互沟通。我在App A中为此定义了自定义权限。应用B使用该自定义权限。如果我将protectionLevel设置为" normal"比这个工作得好,但这似乎并不安全,因为任何人都可以使用该权限。

这是真正安全的唯一方法是,如果我可以将protectionLevel设置为签名。可悲的是,我有以下限制:

App A has to be signed with Cert A
App B has to be signed with Cert B
App B could also be signed with Cert A (means A and B) but that does not seem to get me anywhere, also according to this source

有什么方法可以让它发挥作用吗?如果没有(我猜是这样):

确保只有App B可以与App A通信的好方法是什么?

请您提供此申请表的完整代码??? 因为在我的代码中,广播接收器出现了一些错误。所以plzz给我这个问题的完整代码

0 个答案:

没有答案
相关问题