Android 权限:我如何了解哪些是危险的,哪些是正常的? [英] Android permissions: How can I learn which are dangerous vs normal?

查看:21
本文介绍了Android 权限:我如何了解哪些是危险的,哪些是正常的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android 定义了一组第三方应用可以请求的权限.权限按敏感度分类;大多数权限是正常"或危险".普通权限自动授予,不提示用户;安装应用时会向用户显示危险权限,并要求用户同意授予这些权限.

Android defines a set of permissions that third-party apps can request. Permissions are categorized by sensitivity; most permissions are either "normal" or "dangerous". Normal permissions are granted automatically, without prompting the user; dangerous permissions are presented to the user when the app is installed and the user is asked to consent to granting them.

问题:对于我想到的任何特定的 Android 权限,我如何判断它是正常权限还是危险权限?有危险权限列表和正常权限列表吗?

Question: For any particular Android permission I have in mind, how can I tell whether it is a normal permission or a dangerous permission? Is there a list of dangerous permissions and a list of normal permissions?

(我知道第三方应用程序可以声明自己的权限.我只询问标准权限.我知道可能无法获得 100% 完整的列表.我只是在寻找最好的-努力;有总比没有好.)

(I know that third-party apps can declare their own permissions. I'm only asking about standard permissions. I know it may not be possible to get a 100%-complete list. I'm only looking for best-effort; something is better than nothing.)

有关相关但不同的问题,另请参阅从哪里可以获得 Android 权限列表(但是,这是一个不同的问题;它没有正常与危险的区别,而且我不一定需要完整列表).

For a related but different question, see also Where can I get a list of Android permissions (however, that's a different question; it doesn't at the normal vs dangerous distinction, and I don't necessarily need a complete list).

推荐答案

自动授予普通权限,不提示用户

Normal permissions are granted automatically, without prompting the user

AFAIK,这里的文档是错误的.

AFAIK, the documentation is wrong here.

安装应用时会向用户显示危险权限,并要求用户同意授予这些权限

dangerous permissions are presented to the user when the app is installed and the user is asked to consent to granting them

AFAIK,所有权限都有这种行为.

AFAIK, all permissions have this behavior.

这可能演变成总是显示危险权限,而如果有足够多的危险权限,正常权限可能会隐藏".

What this may have morphed into is that dangerous permissions are always displayed and normal permissions are ones that might be "below the fold" if there are enough dangerous ones.

对于我想到的任何特定的 Android 权限,我如何判断它是正常权限还是危险权限?有危险权限列表和正常权限列表吗?

For any particular Android permission I have in mind, how can I tell whether it is a normal permission or a dangerous permission? Is there a list of dangerous permissions and a list of normal permissions?

您可以查看源代码.

这篇关于Android 权限:我如何了解哪些是危险的,哪些是正常的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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