Question 1

What does "defensive programming" mean?


Question 2

Which of the following statements about a setuid program is/are true?


Question 3

Complete the sentence: A characteristic of _____ programming is that it handles internal errors gracefully.


Question 4

A program needs to obtain a set of web pages over the network, as well as perform other network functions.

Which of these best describes how this should be done?


Question 5

What is the LAND attack?


Question 6

Which of the following is true?


Question 7

Consider the environment in which a program executes. You need to be concerned about the differences between that environment and the one in which the program was developed because:


Question 8

A network server runs with no privileges.

Why is the robustness and security of this server of concern?


Question 9

Which of the following is the most correct?


Question 10

Robust programming is important because:


Question 11

What is the best way to ensure no data is added to or removed from the system with a DVD?


Question 12

Why are assumptions made by a programmer and program so important to secure programming?


Question 13

A user does not trust the system administrator on a system. The administrator has root or admin access. So the user writes a program to encrypt her files when not in use, and decrypt them when she need to use them. Assuming the cipher used cannot be broken easily (for example, RSA with 4096 bit keys, or AEC-192), how good is this procedure?


Question 14

When writing a secure, robust program, which of the following should you check or do? (Select all that apply.)