---
title: An introduction to AppArmor
description: Cyber attacks are becoming more sophisticated, attack frequency is on
  the rise, and the cost of cybercrime damage is projected to reach $6 trillion annually
  by 2021. Traditional defensive measures such as firewalls and intrusion detection
  systems that operate at the network perimeter are no longer enough to protect today’s
  distributed ent […]
url: https://canonical.com/blog/an-introduction-to-apparmor
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Sarah Dickinson](https://canonical.com/blog/author/sarahfd "More about Sarah Dickinson")

26 April 2019

# An introduction to AppArmor

[apparmor](https://canonical.com/blog/tag/apparmor)
[Apps](https://canonical.com/blog/tag/apps)
[Security](https://canonical.com/blog/tag/security)
[Snaps](https://canonical.com/blog/tag/snaps)

---

Share the article

Cyber attacks are becoming more sophisticated, attack frequency is on the rise, and the cost of cybercrime damage is projected to reach [$6 trillion annually by 2021](https://cybersecurityventures.com/top-5-cybersecurity-facts-figures-predictions-and-statistics-for-2019-to-2021/). Traditional defensive measures such as firewalls and intrusion detection systems that operate at the network perimeter are no longer enough to protect today’s distributed enterprise networks. Rather, a ‘defence in depth’ approach is required in order to protect all facets of an organisation’s digital infrastructure.

In an ideal world, applications would be free from security vulnerabilities but, once compromised, even a trusted application can become untrustworthy. [AppArmor](https://wiki.ubuntu.com/AppArmor) provides a crucial layer of security around applications. By providing the capability to whitelist an application’s permissible actions, AppArmor enables administrators to apply the principle of least privilege to applications. Once in place, AppArmor can halt attacks and minimise or prevent damage in the event of a breach.

This whitepaper provides a technical introduction to AppArmor, including:

* Why a ‘defence in depth’ strategy should be employed to mitigate the potential damage caused by a breach
* An explanation of AppArmor, its key features and why the principle of least privilege is recommended
* The use of AppArmor in Ubuntu and snaps

First Name:

Last Name:

Work email:

Company Name:

Job Title:

Phone Number:

I agree to receive information about Canonical’s products and services.

In submitting this form, I confirm that I have read and agree to
[Canonical’s Privacy Notice](https://canonical.com/legal/data-privacy/contact) and [Privacy Policy](https://canonical.com/legal/data-privacy).

Download

[Get in touch

Interested in running Ubuntu in your organization?](https://ubuntu.com/about/contact-us/form)

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

In submitting this form, I confirm that I have read and agree to
[Canonical's Privacy Notice](https://canonical.com/legal/data-privacy/contact)
and [Privacy Policy](https://canonical.com/legal/data-privacy).

Sign up

## Share on

---

## Related posts

[### Securing open source software dependencies in the public cloud](https://canonical.com/blog/securing-open-source-software-dependencies-in-the-public-cloud)

Building stable and secure software requires understanding build systems and having a plan for vulnerabilities in your software dependencies.

[Aaron Whitehouse](https://canonical.com/blog/author/aaron-whitehouse)

5 October 2026

[### Accelerating delivery of CVE fixes with a new Kernel release strategy](https://canonical.com/blog/accelerating-delivery-of-cve-fixes-with-a-new-kernel-release-strategy)

When it comes to fixing security vulnerabilities, speed is crucial. Canonical is officially outlining a transition from its current 4-week regular and 2-week security kernel...

[Canonical](https://canonical.com/blog/author/canonical)

23 September 2026

[### Canonical joins the Open Secure AI Alliance](https://canonical.com/blog/open-secure-ai-alliance)

Canonical is now part of the Open Secure AI Alliance, announced by NVIDIA with partners across cloud computing, cybersecurity, enterprise software, open source foundations, and...

[Canonical](https://canonical.com/blog/author/canonical)

28 August 2026

[### Januscape vulnerability CVE-2026-53359 mitigations available](https://canonical.com/blog/januscape-linux-vulnerability-mitigations-available)

Introduction A local privilege escalation (LPE) vulnerability affecting the Linux kernel was publicly disclosed on July 6, 2026. The vulnerability was assigned CVE ID...

[seth-arnold](https://canonical.com/blog/author/seth-arnold)

11 July 2026
