diff --git a/Docs/Security.md b/Docs/Security.md new file mode 100644 index 0000000..0952dbf --- /dev/null +++ b/Docs/Security.md @@ -0,0 +1,98 @@ +# 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 `