arrow
返回

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

delete2023-01-01
delete5
delete
OA
AI
Y
Ying Wang
王一博 封面图
王一博 (Yibo Wang)
S
Sinan Wang
Y
Yepang Liu *
C
Chang Xu
S
Shing-Chi Cheung
H
Hai Yu
Z
Zhiliang Zhu
DOI:10.1109/TSE.2022.3148258delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
Runtime
Interviews
Open source software
Taxonomy
Task analysis
Systematics
Software development management
Runtime permission
Android apps
empirical study

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.8K
被引数:
1.1W

机构

N
nanjing university
学者数:
7.8W
论文数: 5.6W
被引数: 87
引用论文

引用论文

Residential Greenness and Long-term Mortality Among Patients Who Underwent Coronary Artery Bypass Graft Surgery
err2023-10-10
err0
PREAI
errMaya Sadeh; Nir Fulman; Nirit Agay; Ilan Levy; Arnona Ziv; Alexandra Chudnovsky; Michael Brauer; Rachel Dankner
err分享
err收藏
Automated Android application permission recommendation
err2017-07-28
err10
PREAI
errBao, Lingfeng; Lo, David; Xia, Xin; Li, Shanping
err分享
err收藏
Light-Weight, Inter-Procedural and Callback-Aware Resource Leak Detection for Android Apps
err2016-11-01
err46
PREAI
errWu, Tianyong; Liu, Jierui; Xu, Zhenbo; Guo, Chaorong; Zhang, Yanli; Yan, Jun; Zhang, Jian
err分享
err收藏
Developing Interventions for Frailty
err2015-02-03
err0
errOAAI
errIan D. Cameron; Nicola Fairhall; Liz Gill; Keri Lockwood; Colleen Langron; Christina Aggar; Noeline Monaghan; Susan Kurrle
err分享
err收藏
Glomerular morphometry in reflux nephropathy: functional and radiological correlations
err1993-02-01
err0
PREAI
errShoichi Yoshiara; Richard H. R. White; Faro Raafat; Nicholas C. Smith; Kishore J. Shah
err分享
err收藏
Genomewide Analysis of mRNA Processing in Yeast Using Splicing-Specific Microarrays
err2002-05-03
err0
PREAI
errTyson A. Clark; Charles W. Sugnet; Manuel Ares
err分享
err收藏
How Should I Improve the UI of My App?: A Study of User Reviews of Popular Apps in the Google Play
err2021-04-23
err11
PREAI
errChen, Qiuyuan; Chen, Chunyang; Hassan, Safwat; Xing, Zhengchang; Xia, Xin; Hassan, Ahmed E.
err分享
err收藏
Global observations of the land breeze
err2005-03-04
err0
errOAAI
errSarah T. Gille; Stefan G. Llewellyn Smith; Nicholas M. Statom
err分享
err收藏
学者 查看更多内容