之间是什么&QUOT不同;正常"和"危险"在Android的保护级别 [英] What is different between "normal" and "dangerous" in android protection level

查看:282
本文介绍了之间是什么&QUOT不同;正常"和"危险"在Android的保护级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在谷歌网站开发公会阅读
http://developer.android.com/guide/topics/manifest/permission -element.html


  

常规
  的默认值。较低风险的权限,让
  请求隔离的应用级功能的应用程序的访问,
  以最小的风险至其他应用程序,系统,或用户。该
  系统自动授予该类型的权限给请求
  应用在安装时,不要求用户明确
  批准(虽然用户可以随时查看这些选项
  安装前的权限)。


  
  

危险
  这将给出一个请求高风险权限
  应用程序访问在设备私有用户数据或控制
  可在用户造成负面影响。因为这种类型的权限的
  引入了潜在的风险,系统可能不会自动授予它
  给请求应用程序。 例如,任何危险的权限
  由一个应用程序请求可被显示给用户,并且需要
  继续之前确认
,或其他一些方法可以采取
  避免用户自动允许使用这些设施。


我知道什么是对他们的定义的含义。它们之间的区别是危险水平,系统可以提示用户批准危险权限。

但我想知道,危险级别,不是任何危险的权限的应用程序所请求真的提示用户?我可以看到的是在安装前只许可请求。是否有任何的例子,可以证明这一点?

感谢


解决方案

  

是否真的提示用户,通过一个应用程序所要求的任何危险的权限?


在Android市场的初期(后更名为Play商店),如果一个应用程序的权限列表很长,危险的权限将被上面所示折叠—仅正常的权限将被隐藏在一个查看更多折叠式面板。

Play商店的最新版本似乎没有进行正常的和危险之间没有太大的区别视觉

的Andr​​oid 6.0+设备,为23或更高的 targetSdkVersion 应用程序=htt​​p://developer.android.com/$p$pview/功能/运行时permissions.html相对=nofollow>将要求开发人员明确要求危险权限在运行时,用户将不再提示正常危险在安装时的权限。

As I read from developer guild in google website http://developer.android.com/guide/topics/manifest/permission-element.html

"normal" The default value. A lower-risk permission that gives requesting applications access to isolated application-level features, with minimal risk to other applications, the system, or the user. The system automatically grants this type of permission to a requesting application at installation, without asking for the user's explicit approval (though the user always has the option to review these permissions before installing).

"dangerous" A higher-risk permission that would give a requesting application access to private user data or control over the device that can negatively impact the user. Because this type of permission introduces potential risk, the system may not automatically grant it to the requesting application. For example, any dangerous permissions requested by an application may be displayed to the user and require confirmation before proceeding, or some other approach may be taken to avoid the user automatically allowing the use of such facilities.

I know what's the meaning for their definition. The difference between them is for "dangerous" level, system may prompt user to approve dangerous permission.

But I want to know, for "dangerous" level, does it really prompt user that any dangerous permissions requested by an application? What I can see is only permission request before installation. Does any example that can prove it?

Thanks

解决方案

does it really prompt user that any dangerous permissions requested by an application?

In the early days of the Android Market (later renamed the Play Store), if the list of permissions for an app was long, dangerous permissions would be shown "above the fold" — only normal permissions would be hidden in a "See more" fold-out panel.

The current version of the Play Store does not seem to make much visual distinction between normal and dangerous.

Android 6.0+ devices, for apps with targetSdkVersion of 23 or higher, will require the developer to explicitly request dangerous permissions at runtime, and the user will no longer be prompted for normal or dangerous permissions at install time.

这篇关于之间是什么&QUOT不同;正常"和"危险"在Android的保护级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆