About APP Sandbox

Source: Internet
Author: User

A sandbox is a practice of running an application in a restricted security environment to limit the code access permissions granted to an application.

Sandbox technology provides tight control of resources by restricting access to memory, system files, and settings, the sandbox enables enterprises to discover their activities and intentions by executing potentially malicious code without affecting the host device. This analysis of sandbox technology for code entering the enterprise network means that even 0 exploits can be discovered-by parsing the malicious intent of the code.

About APP Sandbox

APP Sandbox is a access control technology provided in MacOS with enforced at the kernel level. It is designed to contain damage to the system and the user's data if an app becomes compromised. Apps distributed through the Mac app Store must adopt app Sandbox. Apps signed and distributed outside of the Mac app Store with Developer ID can (and in most cases should) use APP Sandbox as well.

At a Glance

Complex systems always has vulnerabilities, and software complexity only increases over time. No matter how carefully are adopt secure coding practices and guard against bugs, attackers only need to get through your Defenses once to succeed. While app Sandbox doesn ' t prevent attacks against your App, it does minimize the harm a successful one can cause.

A non-sandboxed app has the full rights of the user who's running that app, and can access any resources that the user CA N Access. If the app or any framework it's linked against contain security holes, an attacker can potentially exploit those holes To a control of that app, and in doing so, the attacker gains the ability to doing anything that the user can do.

Designed to mitigate this problem, the APP Sandbox strategy is twofold:

    1. App Sandbox enables describe how your app interacts with the system. The system then grants your apps the access it needs to get their job done, and no more.

    2. App Sandbox allows the user to transparently grant your app additional access by the and Save dialogs, drag and Dr OP, and other familiar user interactions.

APP Sandbox is not a silver bullet. Apps can still is compromised, and a compromised app can still do damage. But the scope of potential damage was severely limited when an app was restricted to the minimum set of privileges it needs To get it job done.

APP Sandbox is Based on a Few straightforward principles

By limiting access to sensitive resources in a per-app basis, App Sandbox provides a last line of defense against the Thef T, corruption, or deletion of user data, or the hijacking of system hardware, if an attacker successfully exploits Securit Y holes in your app. For example, a sandboxed app must explicitly state its intent to use any of the following resources using entitlements:

    • Hardware (Camera, Microphone, USB, Printer)

    • Network Connections (Inbound or Outbound)

    • App Data (Calendar, location, Contacts)

    • User Files (Downloads, Pictures, Music, Movies, user Selected Files)

Access to any resource not explicitly requested in the project definition was rejected by the system at run time. If you is writing a sketch app, for example, and you know your app would never need access to the microphone, you simply D On ' t-ask for access, and the system knows to reject any attempt your (perhaps compromised) app makes to use it.

About APP Sandbox

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.