Blackberry 权限——“受信任的应用程序状态”是什么意思? 参考?
对于某些设备用户,启动时会出现以下权限对话框
“您想授予 AppX 可信应用程序状态吗?”
用户同意,应用程序运行良好。 但“受信任的应用程序状态”是什么意思? 这看起来确实很模棱两可,大多数权限对话框是指制作http消息、访问联系信息等。
最后一个问题
“受信任的应用程序状态”是否指访问客户端设备上的特定 API 或特定权限设置?
我想知道其根本原因,因为如果这是 API 访问问题,我可能会从应用程序中排除这些调用。
For some device users, on startup they are presented with the following permissions dialog
"Would you like to grant AppX trusted application status?"
The user says yes and the app runs fine. But what does "trusted application status" mean? This seems really ambiguous, most permission dialogs refer to making a http message, accessing contact information and the like.
Final Question
Does "trusted application status" refer to accessing a specific API or a specific permission setting on the client devices?
I'd like to know the root cause of this since if it's an API access issue, I might exclude those calls from the app.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我之所以推迟回答,是因为我在 RIM 网站上读到一些内容回答了您的问题。 唉,我还没能重新定位它。
该问题可以被视为其他一些权限问题的宏。 如果用户回答是否定的,那么后续任何需要用户许可的 API 的访问都会导致正常的提示。 回答肯定将允许公共权限的子集。 如果我没记错的话,这些包括访问位置和 PIM 数据以及访问网络。 它与编程API签名密钥问题不同。 为访问 PIM 数据而签名的应用程序仍需要用户权限才能访问数据,除非以适当的权限从 BES 安装。
无论原始答案如何,用户都可以稍后通过编辑应用程序和/或模块权限来更改权限。
找到了! 该视频讨论安全提示。
受信任的应用程序可从 OS 4.5 开始使用,并将所有权限设置为“允许”(默认情况下设置为“拒绝”的权限除外)。
I was holding off answering because I read something on RIM's site that answered your question. Alas I haven't been able to re-locate it yet.
The question can be thought of as a macro for some of the other permission questions. If the user answers negative, then any subsequent access to an API that needs user permission will cause the normal prompt. Answering affirmative will allow a subset of common permissions. If I remember correctly these include access to location and PIM data and access to the network. It is different from the programing API signing key issue. An application signed for access to PIM data will still need user permission to access the data, unless installed from the BES with appropriate permission.
Regardless of the original answer, the user can change permissions later by editing application and/or module permissions.
Found it! This video talks about Security Prompts.
Trusted applications are available from OS 4.5 and have all permission set to ALLOW except those that are set to DENY by default.
这是一条一般消息,与访问安全 API 无关,如果您访问安全 API,您的应用程序将无法运行并出现安全异常(并且您需要对您的应用程序进行签名才能使用它们)。
避免在首次应用程序启动时出现该消息的唯一方法是使用可选证书对应用程序进行签名(您必须注册为开发人员才能获取这些证书并有权访问签名工具)。
This is a general message it is not related to accessing secured API's, if you were accessing secured apis your app will fail to run with a Security Exception (and you need to sign your app to make use of them).
The only way to avoid that message in first app launch is to sign your application with the optional certificates (you must register as developer to get those certificates and to have access to the signature tool).
理查德,我的印象是它所做的是将应用程序的权限设置为您的“默认权限”。 您的设备上拥有“默认权限”,您可以通过转到“设置”->“更改”来更改该权限。 安全-> 应用程序权限-> 菜单-> 编辑默认权限。 这就是“可信”的含义。 否则,系统将提示您输入所有安全选项。
Richard, i've been under the impression that what it does is set the permision on the app to your "Default Permission". You have on your device "default permissions" which you can change by going to Settings -> Security -> Application Permissions -> Menu -> Edit Default Permissions. Thats what "trusted" means. Otherwise you will be prompted for all security options.