Purpose: This header prevents a webpage from being embedded within an <iframe>. This helps to mitigate clickjacking attacks.
Directives:
DENY: The page cannot be displayed in a frame, regardless of the site trying to do so.
SAMEORIGIN: The page can only be displayed in a frame on the same origin as the page itself.
ALLOW-FROM uri: The page can only be displayed in a frame on the specified origin.
Effect: It protects against attacks where an attacker tricks a user into clicking something different from what the user perceives.