@@ -0,0 +1,809 @@
+package com.systelab.seed.infrastructure.security;%0A%0Aimport javax.servlet.annotation.WebFilter;%0Aimport javax.servlet.*;%0Aimport javax.servlet.http.HttpServletResponse;%0Aimport java.io.IOException;%0A%0A@WebFilter(%22/*%22)%0Apublic class XFrameOptionsFilter implements Filter %7B%0A%0A    public XFrameOptionsFilter() %7B%0A    %7D%0A%0A    public void init(FilterConfig fConfig) throws ServletException %7B%0A    %7D%0A%0A    public void destroy() %7B%0A    %7D%0A%0A    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException %7B%0A        if (response instanceof HttpServletResponse) %7B%0A            HttpServletResponse httpResponse = (HttpServletResponse) response;%0A            httpResponse.addHeader(%22X-Frame-Options%22, %22deny%22);%0A        %7D%0A        chain.doFilter(request, response);%0A    %7D%0A%7D

Add X-Frame-Options HTTP response header and set it to deny to reduce the risk of a clickjacking attack.