hw01.tex
author Christian Urban <urbanc@in.tum.de>
Mon, 22 Oct 2012 12:55:01 +0100
changeset 51 7762c11f37d5
parent 14 fd7e587c794e
permissions -rw-r--r--
tuned
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass{article}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{charter}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usepackage{hyperref}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\begin{document}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\section*{Homework 1}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\begin{enumerate}
14
Christian Urban <urbanc@in.tum.de>
parents: 10
diff changeset
    10
\item {\bf (Optional)} If you want to have a look at the code presented in the lectures, install Scala available (for free) from
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\begin{center}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\url{http://www.scala-lang.org}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\end{center}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\noindent
14
Christian Urban <urbanc@in.tum.de>
parents: 10
diff changeset
    16
The web-applications from the first lecture are written in Scala using the Play Framework available (also for free) from
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\begin{center}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\url{http://www.playframework.org}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\end{center}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\item Practice thinking like an attacker. Assume the following situation:
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    22
\begin{quote}\it
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
Prof.~V.~Nasty gives the following final exam question (closed books, closed notes):\bigskip
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\noindent
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\begin{tabular}{@ {}l}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
Write the first 100 digits of pi:\\
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
3.\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    29
\end{tabular}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
\end{quote}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
\noindent
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
Think of ways how you can cheat in this exam?
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
\item Explain what hashes and salts are. Describe how they can be used for ensuring data integrity and
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
storing password information.
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
14
Christian Urban <urbanc@in.tum.de>
parents: 10
diff changeset
    38
\item What are good uses of cookies (that is browser cookies)?
10
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
\end{enumerate}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
\end{document}
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
%%% Local Variables: 
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
%%% mode: latex
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
%%% TeX-master: t
c8ff4c853130 new version
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
%%% End: