X-Frame-Options
Allowing your website to be added to a frame can be a security issue. For example, using clever CSS styling, users could be tricked into clicking on something that they did not intend to.
View a Clickjacking video demo here at https://www.youtube.com/watch?v=3mk0RySeNsU.
For example, a user that is logged in to their bank might click a button that grants access to other users. This sort of attack is known as Clickjacking.
Read more about Clickjacking at https://www.owasp.org/index.php/Clickjacking.
Another modern approach to dealing with Clickjacking is using a content security policy. Spring Security does not provide support for this as the specification has not been released, and it is quite a bit more complicated. However, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access