Part 7 – Defensive Coding

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
Recommended Study Material
Learn on the go.
The app designed for the modern cyber security professional.
Get it on Google Play Get it on the App Store

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play

Support Cybrary

Donate Here to Get This Month's Donor Badge

Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?