中文版 | English
题名

Runtime Permission Issues in Android Apps: Taxonomy, Practices, and Ways Forward

作者
通讯作者Liu,Yepang
发表日期
2023-01
DOI
发表期刊
ISSN
0098-5589
EISSN
1939-3520
卷号49期号:1页码:185-210
摘要

Android introduces a new permission model that allows apps to request permissions at runtime rather than at the installation time since 6.0 (Marshmallow, API level 23). While this runtime permission model provides users with greater flexibility in controlling an app & rsquo;s access to sensitive data and system features, it brings new challenges to app development. First, as users may grant or revoke permissions at any time while they are using an app, developers need to ensure that the app properly checks and requests required permissions before invoking any permission-protected APIs. Second, Android & rsquo;s permission mechanism keeps evolving and getting customized by device manufacturers. Developers are expected to comprehensively test their apps on different Android versions and device models to make sure permissions are properly requested in all situations. Unfortunately, these requirements are often impractical for developers. In practice, many Android apps suffer from various runtime permission issues (ARP issues). While existing studies have explored ARP issues, the understanding of such issues is still preliminary. To better characterize ARP issues, we performed an empirical study using 135 Stack Overflow posts that discuss ARP issues and 199 real ARP issues archived in popular open-source Android projects on GitHub. Via analyzing the data, we observed 11 types of ARP issues that commonly occur in Android apps. For each type of issues, we systematically studied: (1) how they can be manifested, (2) how pervasive and serious they are in real-world apps, and (3) how they can be fixed. We also analyzed the evolution trend of different types of issues from 2015 to 2020 to understand their impact on the Android ecosystem. Furthermore, we conducted a field survey and in-depth interviews among the practitioners from open-source community and industry, to gain insights from practitioners & rsquo; practices and learn their requirements of tools that can help combat ARP issues. Finally, to understand the strengths and weaknesses of the existing tools that can detect ARP issues, we built ARPBENCH, an open benchmark consisting of 94 real ARP issues, and evaluated the performance of three available tools. The experimental results indicate that the existing tools have very limited supports for detecting our observed issue types and report a large number of false alarms. We further analyzed the tools & rsquo; limitations and summarized the challenges of designing an effective ARP issue detection technique. We hope that our findings can shed light on future research and provide useful guidance to practitioners.

关键词
相关链接[IEEE记录]
收录类别
SCI ; EI
语种
英语
学校署名
通讯
资助项目
National Natural Science Foundation of China[
WOS研究方向
Computer Science ; Engineering
WOS类目
Computer Science, Software Engineering ; Engineering, Electrical & Electronic
WOS记录号
WOS:001020827200010
出版者
EI入藏号
20220611613523
EI主题词
Android (Operating System) ; Benchmarking ; Job Analysis ; Open Systems ; Software Design ; Taxonomies
EI分类号
Computer Software, Data HAndling And Applications:723 ; Computer Programming:723.1 ; Computer Applications:723.5 ; Information Science:903
ESI学科分类
COMPUTER SCIENCE
来源库
IEEE
全文链接https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9705152
引用统计
被引频次[WOS]:5
成果类型期刊论文
条目标识符http://sustech.caswiz.com/handle/2SGJ60CL/327915
专题工学院_计算机科学与工程系
作者单位
1.Software college, Northeastern University, Shenyang, Liaoning, China, (e-mail: wangying@swc.neu.edu.cn)
2.Software College, Northeastern University, Shenyang, Liaoning, China, (e-mail: yibowangcz@outlook.com)
3.Department of Computer Science and Engineering, Southern University of Science and Technology, Shenyang, Liaoning, China, (e-mail: wsnansw@gmail.com)
4.Computer Science and Engineering, Southern University of Science and Technology, 255310 Shenzhen, Guangdong, China, 518052 (e-mail: liuyp1@sustech.edu.cn)
5.Department of Computer Science and Technology, Nanjing University, 12581 Nanjing, Jiangsu, China, (e-mail: changxu@nju.edu.cn)
6.Department of Computer Science and Engineering, The Hong Kong University of Science and Technology, Clear Water Bay, Kowloon, Hong Kong, (e-mail: scc@cse.ust.hk)
7.Software College, Northeastern University, 1848 Shenyang, Liaoning, China, (e-mail: yuhai@mail.neu.edu.cn)
8.Software College, Northeastern University, Shenyang, Liaoning, China, (e-mail: ZHUZhiLiang_NEU@163.com)
通讯作者单位南方科技大学
推荐引用方式
GB/T 7714
Wang,Ying,Wang,Yibo,Wang,Sinan,et al. Runtime Permission Issues in Android Apps: Taxonomy, Practices, and Ways Forward[J]. IEEE Transactions on Software Engineering,2023,49(1):185-210.
APA
Wang,Ying.,Wang,Yibo.,Wang,Sinan.,Liu,Yepang.,Xu,Chang.,...&Zhu,Zhi liang.(2023).Runtime Permission Issues in Android Apps: Taxonomy, Practices, and Ways Forward.IEEE Transactions on Software Engineering,49(1),185-210.
MLA
Wang,Ying,et al."Runtime Permission Issues in Android Apps: Taxonomy, Practices, and Ways Forward".IEEE Transactions on Software Engineering 49.1(2023):185-210.
条目包含的文件
条目无相关文件。
个性服务
原文链接
推荐该条目
保存到收藏夹
查看访问统计
导出为Endnote文件
导出为Excel格式
导出为Csv格式
Altmetrics Score
谷歌学术
谷歌学术中相似的文章
[Wang,Ying]的文章
[Wang,Yibo]的文章
[Wang,Sinan]的文章
百度学术
百度学术中相似的文章
[Wang,Ying]的文章
[Wang,Yibo]的文章
[Wang,Sinan]的文章
必应学术
必应学术中相似的文章
[Wang,Ying]的文章
[Wang,Yibo]的文章
[Wang,Sinan]的文章
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
[发表评论/异议/意见]
暂无评论

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。