# Security — Guidelines and Implementation Security considerations and implementation details for BanGUI. --- ## HTTP Security Headers BanGUI implements defense-in-depth against client-side attacks by sending security-related HTTP response headers on all responses. ### Headers Implemented | Header | Value | Purpose | |---|---|---| | `Content-Security-Policy` | `default-src 'self'` | Prevents XSS attacks by restricting script, style, font, image, and other resource origins to `self` only. Browsers refuse to load resources from other origins. | | `X-Frame-Options` | `DENY` | Prevents clickjacking attacks by forbidding the page from being embedded in `