Code Quality

Improving general code quality helps prevent vulnerabilities.

  • Guarding against attacks
    • Buffer overflow
    • SQL injection
  • Input validation
  • Additional security functionality
    • Strong password checks
    • Two-factor authentication
    • Use of access rights (OS)

Buffer Overflow

  • Exploiting a program to write data out of bounds
    • Writing data too large to a location too small, overflown data may be used in some form of exploit, i.e., as instructions

SQL Injection

  • Entering a malicious SQL command to produce unwanted actions
    • Often requires escaping through some means