HTTP Security Header Checker
Understanding HTTP Security Headers
HTTP Security Headers are key-value pairs returned by your web server that instruct browsers how to behave when handling your site's content. They're essential for protecting against common security vulnerabilities.
Learn more from OWASP's HTTP Headers Cheat Sheet
CORS (Cross-Origin Resource Sharing)
CORS is a mechanism that allows web pages from one domain to securely request data from another domain. It controls access through HTTP headers like Access-Control-Allow-Origin.
Example:
Cache-Control
Cache-Control defines caching policies for browsers and proxy servers. It can prevent caching sensitive data or specify cache duration.
Example:
HSTS (HTTP Strict-Transport-Security)
HSTS forces browsers to communicate with the server only via HTTPS, preventing SSL Stripping attacks.
Example:
X-Frame-Options
X-Frame-Options prevents your website from being loaded within an iframe on another website, protecting against clickjacking attacks.
Example:
Content-Security-Policy (CSP)
CSP protects against XSS and code injection attacks by specifying which sources content can be loaded from.
Example:
X-Content-Type-Options
X-Content-Type-Options prevents browsers from MIME sniffing and forces them to use the content type specified by the server.
Example:
Referrer-Policy
Referrer-Policy controls how much referrer information is shared when navigating to other websites.
Example:
Permissions-Policy
Permissions-Policy controls which browser features and APIs can be used in your website and embedded content.
Example:
Security Best Practices
- -Always enable HTTPS (HSTS) to prevent man-in-the-middle attacks
- -Implement Content-Security-Policy to prevent XSS attacks
- -Use X-Frame-Options to prevent clickjacking attacks
- -Set X-Content-Type-Options: nosniff to prevent MIME sniffing
- -Configure CORS headers appropriately for your API endpoints
- -Review and test your security headers regularly
Vulnerabilities Prevented
XSS (Cross-Site Scripting):Mitigated by CSP and X-XSS-Protection
Clickjacking:Prevented by X-Frame-Options
MIME Sniffing:Blocked by X-Content-Type-Options
SSL Stripping:Protected by HSTS
Man-in-the-Middle Attacks:Prevented by HTTPS enforcement and certificate pinning
เครื่องมืออื่น ๆ
Simple Electricity Cost Calculator
เครื่องมือคำนวณค่าไฟฟ้าเบื้องต้น โดยอ้างอิงจากกำลังไฟ (Watt) และชั่วโมงการใช้งาน
UUID Generator
สร้างรหัส UUID (Universally Unique Identifier) มาตรฐาน เวอร์ชั่น 4 สำหรับระบุตัวตนข้อมูลที่ไม่ซ้ำกัน
BCrypt Hash Generator
สร้างและเข้ารหัสรหัสผ่านด้วยอัลกอริทึม BCrypt เพื่อความปลอดภัยตามมาตรฐานสากล
3D Printing Cost Calculator
ประเมินต้นทุนงานพิมพ์ 3 มิติ โดยคำนวณจากน้ำหนักเส้นพลาสติก ค่าเสื่อมราคา และค่าไฟฟ้า
Minecraft Nether Portal Calculator
แปลงพิกัดระหว่างโลก Overworld และ Nether สำหรับเกม Minecraft เพื่อการวางตำแหน่งประตูมิติที่แม่นยำ
QR Code Generator
สร้าง QR Code สำหรับลิงก์เว็บไซต์หรือข้อความต่าง ๆ ได้อย่างรวดเร็ว พร้อมดาวน์โหลดไปใช้งาน
