Designing secure code
nSecurity Principles to Live By:
nEstablish a security process
nManagement control and revision control of specifications, code, documentation and tests
nDefine the product security goals
nConsider security as a product feature
nLearn from mistakes
nUse least privilege
nUse defense in depth
nImagine your application is the last application standing, and every defensive mechanism protecting you has been destroyed