المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Review It: Expert Tips for Finding Security Defects in Your Code



C++ Programming
03-29-2009, 02:42 AM
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.

Michael Howard

<a href="http://msdn.microsoft.com/magazine/f9648998-1076-467d-85e9-363484aca862">MSDN Magazine November 2003