Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Hiding Apache Data and Implementing Safeguards

The objective of this lab is to implement a series of safeguards to the existing Apache instance. In particular, you will need to implement DOS and DDOS protection in terms of the Apache configuration. You will also need to implement clickjacking attack protection, add cross-site scripting protection, prevent server-side includes, specify allowed request methods, disable HTTP 1.0 protocol, prevent the following of symbolic links, and make sure you do not volunteer server information via server banner and ETag. Keep in mind that firewalld is already running, SSH is port 61613, Apache is already running on port 80, SELinux is in enforcing mode, and the frontend and backend are both up and running.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Oct 18, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Implement DOS/DDOS Protection, Clickjacking Attack Protection, and Cross-Site Scripting Protection

    1. Open the main configuration file for editing.

    2. Set the flag for the cookies to be secure, enable cross-site scripting protection, and prevent i-framing and embedding the website somewhere else.

    3. Implement DOS and DDOS protection and mitigation mechanisms.

  2. Challenge

    Prevent Server Side Includes and Specify Allowed Request Methods

    1. Append code to prevent includes to the directory.

    2. Insert option limits to prevent server-side includes and indexes.

  3. Challenge

    Disable HTTP 1.0 Protocol and Prevent the Following of Symbolic Links

    1. Insert code to disable HTTP 1.0 protocol and only use HTTP 1.1 protocol.

    2. Prevent following of symbolic links.

  4. Challenge

    Do Not Volunteer Server Information via Server Banner and Etag, and Restart the Web Server to Apply the Changes

    1. Limit the amount of information that the server provides.

    2. Save and close to apply the changes.

    3. Restart the system, check the status of the server, and verify access to the web server in a different browser window.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans