The Geek Stuff posted an Apparmor tutorial
It uses Linux Security Module to restrict programs. AppArmor sets up a collection of default application profiles to protect Linux services.Intro to Ubuntu Apparmor and How to Configure Apparmor Profiles
You can also protect any other applications running on your system by creating profile files yourself.
In Ubuntu, AppArmor is installed and enabled by default. The apparmor profiles get loaded when system starts.