handouts/ho01.tex
changeset 325 48c6751f2173
parent 312 c913fe9bfd59
child 336 3cb200fa6d6a
equal deleted inserted replaced
324:43e44a4871de 325:48c6751f2173
   203 hood what happens when a webpage is displayed in a browser. A
   203 hood what happens when a webpage is displayed in a browser. A
   204 typical web-application works as follows: The browser sends a
   204 typical web-application works as follows: The browser sends a
   205 GET request for a particular page to a server. The server
   205 GET request for a particular page to a server. The server
   206 answers this request with a webpage in HTML (for our purposes
   206 answers this request with a webpage in HTML (for our purposes
   207 we can ignore the details about HTML). A simple JavaScript
   207 we can ignore the details about HTML). A simple JavaScript
   208 program that realises a server answering with a ``hello
   208 program that realises a server answering with a ``Hello
   209 world'' webpage is as follows:
   209 World'' webpage is as follows:
   210 
   210 
   211 \begin{center}
   211 \begin{center}
   212 \lstinputlisting{../progs/ap0.js}
   212 \lstinputlisting{../progs/ap0.js}
   213 \end{center}
   213 \end{center}
   214 
   214 
   591 \noindent
   591 \noindent
   592 A slightly different point of view about the economies of 
   592 A slightly different point of view about the economies of 
   593 password cracking:
   593 password cracking:
   594 
   594 
   595 \begin{center}
   595 \begin{center}
   596 http://xkcd.com/538/
   596 \url{http://xkcd.com/538/}
   597 \end{center}
   597 \end{center}
   598 
   598 
   599 \noindent
   599 \noindent
   600 If you want to know more about passwords, I recommend viewing
   600 If you want to know more about passwords, I recommend viewing
   601 some youtube videos from the PasswordCon(ference) which takes
   601 some youtube videos from the PasswordCon(ference) which takes