Now that we have seen some of the more common attacks on applications, let’s take a look at the vital task of securing software. All of us usually focus on the functionality of our software first. We overlook security when software is first built. Very often, security only comes into the picture after the application has been developed and deployed.
But research shows that the cost and effort of fixing security weaknesses after deployment is much higher than building security into the application in the first place.
Figure 5. Bug Economics
Figure 6. The cost of fixing bugs
Having said that, please note ...