Android security mechanism

Source: Internet
Author: User

Android security mechanism

: Address

The Android app is executed in a sandbox. This sandbox is implemented based on the user ID (UID) and user group ID (GID) provided by the Linux kernel.

Android apps during installation, the installation service Packagemanagerservice assigns them a unique UID and GID, as well as the permissions requested by the application. Give the other GID. With these UID and GID, the application will only be able to access specific files, usually just to access the files you create. In addition, when the Android application calls the sensitive API, the system checks that it does not request the appropriate permissions when it is installed. Assuming no application is possible. Then the interview will be rejected. For applications that have root privileges. are not limited by the sandbox above. In addition, root-privileged applications can also be injected into other application processes through Linux ptrace, as well as system processes. Perform various function call interception.

Android security mechanism

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.