Book Image

Building a Web Application with PHP and MariaDB: A Reference Guide

By : Sai S Sriparasa
Book Image

Building a Web Application with PHP and MariaDB: A Reference Guide

By: Sai S Sriparasa

Overview of this book

Table of Contents (17 chapters)
Building a Web Application with PHP and MariaDB: A Reference Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Securing the Apache web server


In this section, we will work on securing the Apache web server installation that our application is using. Apache web server is very widely used, and due to its popularity, there are numerous people who have figured out multiple ways to intrude into a non-secure Apache web server installation. A few issues that we will work on in this section are as follows:

  • Hiding server information

  • Server configuration limits

Let's begin by investigating the type of information leaks that occur while working with the Apache web server.

Hiding server information

A default installation of Apache web server provides a lot of information about the web server and the operating system that the server is installed on. Any information on the web server or the operating system can be used by mischievous users browsing the application to prepare for an attack on the web application. Exposing this information may help mischievous users prepare their attack on our web application. Let's...