Clickjacking (User Interface redress attack, UI redress attack, UI redressing) is a malicious technique of tricking a Web user into clicking on something different from what the user perceives they are clicking on, thus potentially revealing confidential information or taking control of their computer while clicking on seemingly innocuous web pages.

By using Clickjacking technique, an attacker hijack’s click’s
meant for one page and route them to another page, most likely for another application, domain, or both.

If tThe server didn’t return an X-Frame-Options header which means that this website could be at risk of a clickjacking attack. The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame> or <iframe>.

Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites.
Server-side methods – the most common is X-Frame-Options. Server-side methods are recommended by security experts as an effective way to defend against clickjacking.

Apache Patch

Modify httpd.conf running in lightsail and include the following line

Header always set X-Frame-Options "SAMEORIGIN"