September 2002
Intermediate to advanced
544 pages
13h 6m
English
The quiz questions are designed to strengthen the knowledge you gain each hour.
| 1: | Why must you not pass unprotected user input to a shell command? |
| 2: | What is the difference between the cgiFormSelectSingle() and cgiFormRadio() functions in cgic? |
| 3: | Why is it important to make sure that you allocate enough space for strings in CGI programs written in C? |
| A1: | Users can send shell commands to your scripts through form fields. If you pass those commands to the shell, they can cause security problems. |
| A2: | There is no difference between the two functions. |
| A3: | If you try to store a string in a variable that is not large enough to hold it, a buffer overflow occurs. |
Read now
Unlock full access