Demo webpages for Web Security

This directory contains some examples that illustrate some features of the web (or more in particular, of HTTP and HTML). They are all bare-bones examples consisting of just a few lines of HTML. Things are kept as simple as possible to make the fundamental concepts clear. Most webpages these days make use of frameworks to make them look nicer. They usually also include JavaScript that is executed client-side in the browser: they are then called web apps rather than web pages.

The web page you are currently seeing is simply a directory listing that is exposed to the internet by a web server. It is the default behaviour of our university web server to display the content of any README.html file present in a directory, so the bottom part of this webpage is the content of the file README.html in the directory web-docs/websec/demo of my Linux home directory.

We sometimes we will refer to the official HTML specification for some details. The HTML spec is not part of the exam material: the spec is constantly updated and the PDF version is over 1400 pages long. The spec is available as one page of HTML but the multipage version may make for more pleasant browsing.

Demos for lecture 1:

Demos for lecture 2:

Demos for lecture 4:

Demos for lecture 5:

Demos for lecture 7:


About the webpage you are seeing now: ~erikpoll/webdocs/demo is simply a directory on the local file system of our Linux server that has been set to be world-readable. When you access the URL http://www.cs.ru.nl/~erikpoll/websec/demo the web server will show the directory listing of ~erikpoll/webdocs/demo (which you can see at the top of the page) and the content of the file called README.html in that directory, if that file exists.