Creating Secure C/C++ Code


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
In this course, you'll explore techniques to help you secure your C/C++ code including how to securely work with and validate data and a number of best practices for writing defensive and secure code.

Target Audience
Individuals interested in learning the fundamental concepts of secure programming, or experienced programmers wishing to refresh or improve their skills. Previous programming experience with C/C++ or .NET may be beneficial.

Prerequisites
None

Expected Duration (hours)
0.8

Lesson Objectives

Creating Secure C/C++ Code

  • start the course
  • recognize how to properly interface with data in C/C++
  • demonstrate some common data validation techniques employed to create secure C/C++ applications
  • identify why casting in the C++ style is preferred to the C style
  • recognize how to properly use operator overloading in C/C++
  • identify the correct way to access internal class data
  • describe why for-loops are preferred to while-loops
  • recognize how to keep functions focused and concise
  • identify the best way to use references and pointers and why you should avoid raw pointers
  • recognize the importance of good readability for planning and maintaining code
  • use defensive coding techniques to create a secure C/C++ application
  • Course Number:
    sd_secp_a04_it_enus

    Expertise Level
    Intermediate