Permissions are a fundamental method used to protect objects from being compromised by an attacker. Although applications can put up several layers of defense to protect themselves , assume an attacker can break through them allafter all, no software is perfect. However, if you can block attackers access to resources by using permissions correctly, you make it a lot harder for attackers to compromise the system.