Friday, October 17, 2003

Review It: Expert Tips for Finding Security Defects in Your Code

Review It: Expert Tips for Finding Security Defects in Your Code -- MSDN Magazine, November 2003: "Reviewing code for security defects is a key ingredient in the software creation process, ranking alongside planning, design, and testing. Here the author reflects over his years of code security reviews to identify patterns and best practices that all developers can follow when tracking down potential security loopholes. The process begins by examining the environment the code runs in, considering the roles of the users who will run it, and studying the history of any security issues the code may have had. After gaining an understanding of these background issues, specific vulnerabilities can be hunted down, including SQL injection attacks, cross-site scripting, and buffer overruns. In addition, certain red flags, such as variable names like 'password', 'secret,' and other obvious but common security blunders, can be searched for and remedied."

No comments: