0

Let us take a look at the basic working of a web server. What happens when you type http://rahlabs.blogspot.in/
in your browser?
  • The browser differentiates the URL into three parts:
    1. The protocol ("
      http
      ")
    2. The server name (rahlabs.blogspot.com)
    3. The file name ("
      contact-us.html
      ")
  • The browser initiates the connection by communicating with a name server to translate the server name rahlabs.blogspot.com into a valid IP Address.
  • It then uses this IP address to connect to the target web server machine.
  • The browser then establishes a connection to the web server at the specific IP address on port 80. This is the default port. (It can be any other port as well)
  • According to the HTTP protocol, the browser sends a GET request to the server, to retrieve the file "http://rahlabs.blogspot.in/p/contact-us.html"
  • The web server then sends the HTML text for the particular Web page to the browser.
  • The browser reads the HTML tags and formats the page on the user's screen.

Other HTTP methods like POST, PUT, are used in subsequent communications if needed. The response from the server includes the HTTP response code suitable for the result of the request. In the case of successful data retrieval, an HTTP 200 OK response is generated. Other HTTP response codes exist: common ones include 404 Not Found, 403 Access Denied, and 302 Object Moved (often used to redirect requests to a login page to authenticate a user).


Popular Web Servers and Common Security Threats

  • Apache Web Server
  • IIS Web Server
  • Sun ONE Web Server
Bugs or Web Server Misconfiguration.
  • Browser-Side or Client Side Risks.
  • Sniffing
  • Denial of Service Attack.

Post a Comment Blogger

 
Top