เพิ่มความปลอดภัยใน เว็บ Joomla หรือ WP ด้วยการป้องกัน X-XSS-Protection

ตอบกระทู้

รูปแสดงอารมณ์
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
รูปแสดงอารมณ์อื่นๆ

BBCode เปิด
[img] เปิด
[url] เปิด
[Smile icon] เปิด

กระทู้แนะนำ
   

มุมมองที่ขยายได้ กระทู้แนะนำ: เพิ่มความปลอดภัยใน เว็บ Joomla หรือ WP ด้วยการป้องกัน X-XSS-Protection

เพิ่มความปลอดภัยใน เว็บ Joomla หรือ WP ด้วยการป้องกัน X-XSS-Protection

โดย mindphp » 30/04/2019 8:15 am

เพิ่มความปลอดภัยใน เว็บ Joomla หรือ WP ด้วยการป้องกัน X-XSS-Protection

เพิ่ม

โค้ด: เลือกทั้งหมด

<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode=block"
Header always append X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff
</IfModule>
ไว้ในไฟล์ .htaccess
วางไว้ที่ root ของ เว็บไซต์เรา

ข้างบน