# API Reference: Performing Clickjacking Attack Test ## HTTP Security Headers | Header | Values | Description | |--------|--------|-------------| | `X-Frame-Options` | `DENY`, `SAMEORIGIN`, `ALLOW-FROM uri` | Legacy frame embedding control | | `Content-Security-Policy: frame-ancestors` | `'none'`, `'self'`, URLs | Modern CSP-based frame control | ## requests Library | Method | Description | |--------|-------------| | `requests.get(url, allow_redirects=True)` | Fetch page and follow redirects | | `response.headers.get("X-Frame-Options")` | Extract frame protection header | | `response.headers.get("Content-Security-Policy")` | Extract CSP header | ## PoC HTML Elements | Element | Purpose | |---------|---------| | `