Web Security Programming I

To illustrate what can go wrong if we do not
design for security in our web applications from
the start, consider a simple web server
implemented in Java.
All this program does is serve documents using
HTTP.
We will walkthrough the code in the following. (HyperText Transfer Protocol): The
communications protocol used to connect to
servers on the Web.
• Its primary function is to establish a connection
with a Web server and transmit HTML pages to
the client browser or any other files required by an
HTTP application.
• Addresses of Web sites begin with an http://
prefix.
slides.