Configure CORS, CSP, Cache-Control and security headers visually - copy Nginx or Apache config blocks.
Content-Security-Policy (script sources), X-Frame-Options (clickjacking), Strict-Transport-Security (HTTPS-only), X-Content-Type-Options (MIME sniffing). Check your score at securityheaders.com.Access-Control-Allow-Origin: * allows all origins (use only for public APIs). Access-Control-Allow-Credentials: true requires a specific origin, not *. Preflight OPTIONS requests check permissions before complex requests.default-src 'self' only allows resources from the same origin. script-src 'none' blocks all scripts. Use Content-Security-Policy-Report-Only to test without enforcing - violations are reported but not blocked. Start strict and loosen as needed.