This video is the first of two videos about defensive design considerations. Data is not always entered in ways that a program might expect. If this can be easily rectified without asking the user to re-input the data, it is known as input sanitation. In addition, to prevent invalid data crashing a program, validation techniques are used to check data before it is processed. This video explores these two programming techniques.