Application security is the use of hardware, software and procedural methods in order to protect applications from internal or external threats. As more and more applications are becoming accessible over networks, they are being exposed to a wide variety of threats as well.