Did you know Cybrary's video training is FREE? Join more than 2,500,000 IT and cyber security professionals, students, career changers, and more, growing their careers on Cybrary.
This lesson covers defensive coding. Defensive coding is proactive and secure cpding which is intended to keep software functional even when unforeseen situations come up. This is especially important when there is the chance of a piece of software being misused. Defensive coding offers several advantages: • Increased general quality of software • Greater comprehensibility of source code • More predictability in software Methods of defensive coding include: • Output sanitation • Error handling • Safe APIs • Sandboxing • Anti-tampering mechanisms • Secure processes for software • Version control • Code analysis • Code review • Secure builds