{"id":16,"date":"2015-07-27T09:44:00","date_gmt":"2015-07-27T09:44:00","guid":{"rendered":""},"modified":"2020-01-17T07:40:39","modified_gmt":"2020-01-17T07:40:39","slug":"secure-apache-from-clickjacking","status":"publish","type":"post","link":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/","title":{"rendered":"Secure Apache from Clickjacking"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"text-align: justify;\">\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: justify; vertical-align: baseline;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">In this post, I will explain an important Apache2 configuration, this configuration is used to stop\u00a0<b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">clickjacking<\/span><\/b>. I got to know about clickjacking when I was working with security checklist in AEM.<\/span><\/span><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\">\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 0.85em; margin-top: 0.85em; padding: 0px; vertical-align: baseline;\"><\/div>\n<div style=\"text-align: justify;\"><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13;\">Q1. What is clickjacking?<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">Clickjacking, also known as a\u00a0<strong style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">\u201cUI<\/strong><strong style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">\u00a0redress attack\u201d<\/strong>, is when an attacker uses multiple transparent or opaque layers to trick a user into clicking on a button or link to another page when they were intending to click on\u00a0the top level page. Thus, the attacker is \u201chijacking\u201d clicks meant for their page and routing them to another page, most likely owned by another application, domain, or both.\u00a0<\/span><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">If it is still not clear to you then I am attaching a video URL that will explain it in a much better way.<\/span><\/span><\/div>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\">\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; clear: both; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 0px; line-height: inherit; margin: 0px 0px 20px; padding: 0px 0px 445.28125px; position: relative; vertical-align: baseline;\"><iframe style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 445.28125px; left: 0px; line-height: inherit; margin: 0px; max-width: 100%; padding: 0px; position: absolute; text-align: justify; top: 0px; vertical-align: baseline; width: 791.390625px;\" src=\"https:\/\/www.youtube.com\/embed\/W0fTFHCxXBY?feature=oembed&amp;wmode=opaque\" width=\"1500\" height=\"844\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\">\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-align: justify; vertical-align: baseline;\"><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">Q2. How to stop clickjacking in the AEM using Apache2 Server?<\/span><\/b><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-align: justify; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">There is a header configuration named as\u00a0<span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">X-Frame-Options,<\/b><\/span>\u00a0using this configuration, you can stop the clickjacking.<\/span><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 0.85em; margin-top: 0.85em; padding: 0px; vertical-align: baseline;\"><\/div>\n<div style=\"text-align: justify;\"><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13;\">Q3. What is the syntax of this configuration?<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">Header set X-Frame-Options: \u201c<\/span><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">sameorigin<\/span><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">\u201d<\/span><\/span><\/div>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\">\n<div style=\"text-align: justify;\"><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13;\">Q4. Where do we find this configuration?<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"font-family: inherit;\">In Apache2.4 you have a\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">security.conf<\/b><span style=\"font-family: inherit;\">\u00a0file in\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">conf-available<\/b><span style=\"font-family: inherit;\">\u00a0directory. In this file, search for\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">X-Frame-Options<\/b><span style=\"font-family: inherit;\">, it is already present there but commented by default. Now you have two options.<\/span><\/span><\/div>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\">\n<ol style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 20px 15px; padding: 0px; vertical-align: baseline;\">\n<li style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 1em; padding: 3px 0px; text-align: justify; vertical-align: baseline;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">\u00a0this setting and restart your Apache2 server.\u00a0<\/span><\/span><\/span><\/li>\n<li style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px 0px 0px 1em; padding: 3px 0px; text-align: justify; vertical-align: baseline;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">Copy and paste this setting inApache2.conf, uncomment it, and restart your Apache server.<\/span><\/span><\/span><span style=\"color: #274e13; font-family: inherit;\"><br \/>\n<\/span><\/li>\n<\/ol>\n<p><span style=\"color: #274e13; font-family: inherit;\">In my case, I copied and pasted this setting in apche2<\/span>.conf<span style=\"color: #274e13; font-family: inherit;\"> file, <\/span>uncommented<span style=\"color: #274e13; font-family: inherit;\"> it and restarted my Apche2 server.<\/span><\/p>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">\u00a0<\/span><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: justify; vertical-align: baseline;\"><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">Q5. Apache Server is throwing error when restarting after this configuration?<\/span><\/b><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: justify; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">It may be possible that you will get an\u00a0error \u00a0at the time of starting the Apache2 server, after adding this configuration, the reason is, this configuration requires\u00a0<b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">mod_headers.so<\/b>\u00a0module enabled, which is by default disabled. So enable\u00a0\u00a0module and your Apache server will start running successfully.<\/span><br \/>\n<b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13;\"><br \/>\nQ6. How to enable Headers.mod in Apache2 server?<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">For enabling this module you have a\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">headers.load<\/b><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">\u00a0file present in\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">mods-available<\/b><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">\u00a0directory in your\u00a0Apache2 server. In my case, it is present at\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">\/etc\/apche2\/mods-available<\/b><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">. Just do one thing, create a <\/span><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">softlink<\/span><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\"> in your<\/span><em style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><strong style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">\u00a0mods-enabled<\/strong><\/em><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">\u00a0folder. If you\u00a0are\u00a0an\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">Ubuntu<\/b><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">\u00a0user execute this command-<\/span><\/span><\/div>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\">\n<div style=\"background: #fdfdfd !important; border: 1px solid #e1e1e1 !important; box-sizing: border-box; direction: ltr !important; font-size: 12px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; height: auto; line-height: 15px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; vertical-align: baseline; width: 700px;\" data-settings=\" minimize scroll-mouseover\">\n<div style=\"background: 0px 50%; border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: auto !important; line-height: inherit; margin: 0px !important; padding: 0px !important; vertical-align: baseline;\"><\/div>\n<div style=\"background: 0px 50%; border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline; width: 500px; z-index: 1;\">\n<table style=\"background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; padding: 0px !important; table-layout: auto !important; text-align: justify; vertical-align: baseline; width: auto !important; margin: 0px !important 0px !important 0px !important 0px;\">\n<tbody style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<tr style=\"background: #fcfcfc; border: none !important; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px !important; padding: 0px !important; vertical-align: top !important;\">\n<td style=\"background: #dfefff !important; border: 0px; box-sizing: border-box; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px !important; padding: 0px !important; vertical-align: top !important;\" data-settings=\"show\">\n<div style=\"background: 0px 50%; border: 0px #e1e1e1; box-sizing: border-box; font-size: 12px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: nowrap;\">\n<div style=\"background: 0px 50%; border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; vertical-align: baseline;\" data-line=\"crayon-55b5f78fbc513606558229-1\"><\/div>\n<\/div>\n<\/td>\n<td style=\"background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 771px;\">\n<div style=\"background: none !important; border: none !important; box-sizing: border-box; font-size: 12px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; vertical-align: baseline; white-space: pre;\">\n<div style=\"background: 0px 50%; border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">ln<\/span>\u00a0<span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">&#8211;<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">s<\/span> <span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">etc<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">apache2<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">mods<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">&#8211;<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">available<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">header<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">.<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">load<\/span> <span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">etc<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">apache2<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">mods<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">&#8211;<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">enabled<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">\/<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">headers<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">.<\/span><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px; vertical-align: baseline;\">load<\/span><\/span><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: justify; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">Now you will see this soft link in your\u00a0<b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">mods-enabled<\/b>\u00a0folder.\u00a0Restart your\u00a0<b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">Apache2 Server<\/b>.<\/span><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\"><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin: 0px; padding: 0px; text-align: start; vertical-align: baseline;\">\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 0.85em; margin-top: 0.85em; padding: 0px; vertical-align: baseline;\"><\/div>\n<div style=\"text-align: justify;\"><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13;\">Q7. How to check whether it\u2019s working or not?<\/span><\/b><\/div>\n<div style=\"text-align: justify;\"><span style=\"color: #274e13; font-family: inherit;\"><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">After restarting your\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">Apache2 server,<\/b><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">\u00a0just hit a non cached page via Apache2 Server. Open debugger and\u00a0check\u00a0the response header. You will \u00a0see\u00a0<\/span><b style=\"border: 0px #e1e1e1; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\">X-Frame-Options<\/b><span style=\"font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;\">\u00a0header field, as shown below<\/span><\/span><\/div>\n<\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin-bottom: 0.85em; margin-top: 0.85em; padding: 0px; text-align: start; vertical-align: baseline;\"><\/div>\n<div style=\"text-align: justify;\"><a style=\"border: 0px #e1e1e1; box-sizing: border-box; display: inline !important; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; max-width: 100%; outline: 0px; overflow: hidden; padding: 0px; position: relative; vertical-align: baseline;\" href=\"http:\/\/1.bp.blogspot.com\/-AfWieD6WQ9k\/VbXDoj3wQ2I\/AAAAAAAABKQ\/bi2QO7KV3ug\/s1600\/blog1.png\"><span style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\"><img fetchpriority=\"high\" decoding=\"async\" class=\"\" style=\"border: none #e1e1e1; box-sizing: border-box; display: inline-block; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: auto; line-height: inherit; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1-300x116.png\" alt=\"\" width=\"774\" height=\"295\" border=\"0\" \/><\/span><\/span><\/a><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin-bottom: 0.85em; margin-top: 0.85em; padding: 0px; text-align: justify; vertical-align: baseline;\"><span style=\"color: #274e13; font-family: inherit;\">If you get this option on your page it means your configuration is working.<\/span><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin-bottom: 0.85em; margin-top: 0.85em; padding: 0px; text-align: justify; vertical-align: baseline;\"><\/div>\n<div style=\"border: 0px #e1e1e1; box-sizing: border-box; font-size: 15px; font-stretch: inherit; line-height: 24.75px; margin-bottom: 0.85em; margin-top: 0.85em; padding: 0px; text-align: justify; vertical-align: baseline;\"><\/div>\n<\/div>\n<p><strong>Happy Coding<\/strong><br \/>\n<strong>Namah Shivay<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I will explain an important Apache2 configuration, this configuration is used to stop\u00a0clickjacking. I got to know [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47,48,45,44,46],"tags":[],"class_list":["post-16","post","type-post","status-publish","format-standard","hentry","category-aem-security","category-apache2-configuration-for-clickjacking","category-clickjacking","category-how-to-stop-clickjacking-in-aem","category-x-frame-options-in-apache2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Secure Apache from Clickjacking - AEM Blog | Lhotse Technologies<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Secure Apache from Clickjacking - AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"og:description\" content=\"In this post, I will explain an important Apache2 configuration, this configuration is used to stop\u00a0clickjacking. I got to know [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/\" \/>\n<meta property=\"og:site_name\" content=\"AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-27T09:44:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-17T07:40:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1-300x116.png\" \/>\n<meta name=\"author\" content=\"Team Lhotse\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team Lhotse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/\"},\"author\":{\"name\":\"Team Lhotse\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\"},\"headline\":\"Secure Apache from Clickjacking\",\"datePublished\":\"2015-07-27T09:44:00+00:00\",\"dateModified\":\"2020-01-17T07:40:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/\"},\"wordCount\":457,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1-300x116.png\",\"articleSection\":[\"AEM security\",\"Apache2 configuration for clickjacking\",\"clickjacking\",\"How to stop Clickjacking in AEM\",\"X-frame-options in Apache2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/\",\"name\":\"Secure Apache from Clickjacking - AEM Blog | Lhotse Technologies\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1-300x116.png\",\"datePublished\":\"2015-07-27T09:44:00+00:00\",\"dateModified\":\"2020-01-17T07:40:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1.png\",\"width\":793,\"height\":307},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lhotsetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Secure Apache from Clickjacking\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"name\":\"AEM Blog | Lhotse Technologies\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\",\"name\":\"AEM Blog | Lhotse Technologies\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"width\":539,\"height\":172,\"caption\":\"AEM Blog | Lhotse Technologies\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\",\"name\":\"Team Lhotse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Team Lhotse\"},\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Secure Apache from Clickjacking - AEM Blog | Lhotse Technologies","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/","og_locale":"en_US","og_type":"article","og_title":"Secure Apache from Clickjacking - AEM Blog | Lhotse Technologies","og_description":"In this post, I will explain an important Apache2 configuration, this configuration is used to stop\u00a0clickjacking. I got to know [&hellip;]","og_url":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/","og_site_name":"AEM Blog | Lhotse Technologies","article_published_time":"2015-07-27T09:44:00+00:00","article_modified_time":"2020-01-17T07:40:39+00:00","og_image":[{"url":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1-300x116.png","type":"","width":"","height":""}],"author":"Team Lhotse","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Team Lhotse","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#article","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/"},"author":{"name":"Team Lhotse","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d"},"headline":"Secure Apache from Clickjacking","datePublished":"2015-07-27T09:44:00+00:00","dateModified":"2020-01-17T07:40:39+00:00","mainEntityOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/"},"wordCount":457,"commentCount":0,"publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage"},"thumbnailUrl":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1-300x116.png","articleSection":["AEM security","Apache2 configuration for clickjacking","clickjacking","How to stop Clickjacking in AEM","X-frame-options in Apache2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/","url":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/","name":"Secure Apache from Clickjacking - AEM Blog | Lhotse Technologies","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage"},"thumbnailUrl":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1-300x116.png","datePublished":"2015-07-27T09:44:00+00:00","dateModified":"2020-01-17T07:40:39+00:00","breadcrumb":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#primaryimage","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/07\/blog1.png","width":793,"height":307},{"@type":"BreadcrumbList","@id":"https:\/\/lhotsetechnologies.com\/blog\/secure-apache-from-clickjacking\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lhotsetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Secure Apache from Clickjacking"}]},{"@type":"WebSite","@id":"https:\/\/lhotsetechnologies.com\/blog\/#website","url":"https:\/\/lhotsetechnologies.com\/blog\/","name":"AEM Blog | Lhotse Technologies","description":"","publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization","name":"AEM Blog | Lhotse Technologies","url":"https:\/\/lhotsetechnologies.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","width":539,"height":172,"caption":"AEM Blog | Lhotse Technologies"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d","name":"Team Lhotse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Team Lhotse"},"url":"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/"}]}},"_links":{"self":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":4,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":585,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions\/585"}],"wp:attachment":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}