Runbook

Nginx server protection from clickjacking.

Back to Runbooks

Overview

Clickjacking is a type of attack where a user is tricked into clicking on a malicious link or button that is disguised as a legitimate one. This can allow an attacker to take control of a user's session and perform unauthorized actions. In the context of software engineering, this incident type refers to protecting an Nginx server from clickjacking attacks. This may involve implementing measures such as X-Frame-Options headers to prevent the server from being embedded in malicious web pages.

Parameters

Debug

Check if Nginx server is running

Check Nginx server headers

Check Nginx configuration file syntax

Check if X-Frame-Options header is present

Repair

Implement X-Frame-Options headers in the Nginx server configuration to prevent the server from being embedded in malicious web pages.

Use Content Security Policy (CSP) to restrict the types of content that can be loaded on the server, and to prevent the execution of malicious scripts.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.