author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Tue, 23 Sep 2014 01:58:14 +0100 | |
changeset 165 | 6f84ad98cf49 |
parent 97 | efcac3016613 |
child 169 | 2866fae8c1cf |
permissions | -rw-r--r-- |
10 | 1 |
\documentclass{article} |
2 |
\usepackage{charter} |
|
3 |
\usepackage{hyperref} |
|
4 |
||
5 |
\begin{document} |
|
6 |
||
7 |
\section*{Homework 1} |
|
8 |
||
9 |
\begin{enumerate} |
|
165
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
10 |
\item {\bf (Optional)} If you want to have a look at the code |
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
11 |
presented in the lectures, install Node.js available (for free) from |
10 | 12 |
\begin{center} |
165
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
13 |
\url{http://nodejs.org} |
10 | 14 |
\end{center} |
15 |
||
165
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
16 |
It needs aslo the Node-packages: Express, Cookie-Parser, Body-Parser and |
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
17 |
Crypto. |
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
18 |
|
10 | 19 |
|
20 |
\item Practice thinking like an attacker. Assume the following situation: |
|
21 |
\begin{quote}\it |
|
22 |
Prof.~V.~Nasty gives the following final exam question (closed books, closed notes):\bigskip |
|
23 |
||
24 |
\noindent |
|
25 |
\begin{tabular}{@ {}l} |
|
26 |
Write the first 100 digits of pi:\\ |
|
27 |
3.\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ |
|
28 |
\end{tabular} |
|
29 |
\end{quote} |
|
30 |
||
31 |
\noindent |
|
32 |
Think of ways how you can cheat in this exam? |
|
33 |
||
165
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
34 |
\item Explain what hashes and salts are. Describe how they can be used |
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
35 |
for ensuring data integrity and storing password information. |
10 | 36 |
|
14 | 37 |
\item What are good uses of cookies (that is browser cookies)? |
10 | 38 |
|
165
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
39 |
\item Why is making bank customer be liable for financial fraud a bad |
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
40 |
design choice for CC payments? |
6f84ad98cf49
added homework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
97
diff
changeset
|
41 |
|
10 | 42 |
\end{enumerate} |
43 |
||
44 |
\end{document} |
|
45 |
||
46 |
%%% Local Variables: |
|
47 |
%%% mode: latex |
|
48 |
%%% TeX-master: t |
|
49 |
%%% End: |