Ceannlínte slándála HTTP iad ceannlínte freagartha a thugann orduithe do bhrabhsálaithe chun cosaintí slándála a fhorfheidhmiú — a chuideoidh le cosaint a dhéanamh ar ionsaithe ar nós XSS, clickjacking, agus laghdú prótacail. Is é an fíor-bhreise cosanta simplí, luachmhar do fheidhmchlár gréine.
Ceannlínte slándála príomhúla
CONTENT-SECURITY-POLICY (CSP) → controls what resources/scripts can load/run → a strong
defense against XSS (restrict script sources; block inline scripts) — the most powerful
STRICT-TRANSPORT-SECURITY (HSTS) → force HTTPS (browser refuses HTTP) → prevents
downgrade/SSL-stripping attacks
X-CONTENT-TYPE-OPTIONS: nosniff → stop MIME-type sniffing (prevents some attacks)
X-FRAME-OPTIONS / CSP frame-ancestors → prevent CLICKJACKING (block embedding in iframes)
REFERRER-POLICY → control how much referrer info is sent (privacy)
PERMISSIONS-POLICY → control access to browser features (camera, geolocation, etc.)
