انتقل إلى المحتوى
AI Web Toolbox

شارح رؤوس الأمان

افهم وظيفة رؤوس أمان HTTP.

أداة مجانية عبر الإنترنت

Content-Security-Policy

Restricts which sources scripts, styles, images and other resources may load from, the main defense against XSS.

Strict-Transport-Security

Tells browsers to only ever connect to this site over HTTPS, even if the user types http://.

X-Content-Type-Options

Set to "nosniff" to stop the browser guessing a file's type, preventing some content-sniffing attacks.

X-Frame-Options

Controls whether the page can be embedded in a <iframe> on another site, preventing clickjacking.

Referrer-Policy

Controls how much of the current URL is sent as the Referer header when a user follows a link.

Permissions-Policy

Lets a page allow or block browser features like the camera, microphone or geolocation, including in embedded iframes.

X-XSS-Protection

Legacy header for an old browser XSS filter. Deprecated in modern browsers in favor of a strong Content-Security-Policy.

Cross-Origin-Opener-Policy

Isolates the page from other windows it did not open, protecting against some cross-origin attacks.

Cross-Origin-Resource-Policy

Controls which other origins are allowed to load this resource, such as an image or script.

Set-Cookie

Not a security header by itself, but its Secure, HttpOnly and SameSite attributes are essential cookie protections.

كيف تعمل

ألصق رؤوس الاستجابة، أو تصفّح المرجع، لمعرفة ما يحمي منه كل رأس أمان.

كيفية استخدام شارح رؤوس الأمان: مثال وقائمة تحقق

جرّب هذه الأدوات معها أو في الخطوة التالية.

تعالج معظم الأدوات البيانات في متصفحك. راجع صفحة الخصوصية لمعرفة كيفية تعامل كل أداة مع البيانات.