Security เบื้องต้นสำหรับเว็บ php
ให้สร้างไฟล์ .htaccess แล้วใส่ข้อความด้านล่างนี้ลงไปครับ จากนั้นนำไฟล์นี้ไปวางไว้ที่ public_html ของเว็บของท่าน
<Files *.php>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Files>
<Files index.php>
Order Allow,Deny
Allow from all
</Files>
โดย script นี้จะทำให้ระบบที่มีจุดอ่อน ถึงแม้จะถูกเจาะระบบแล้ว
แต่ผู้ไม่ประสงค์ดีก็จะไม่สามารถสั่งให้ไฟล์ทำงานได้ครับ
- หน้าแรก
-
สินค้าและบริการ
- เรียกดูสินค้า ทั้งหมด
- ✅SSD Hosting (Thai) | ✨New
- ✅SSD Hosting (Thai)
- ✅NVMe-Hosting(Thai)
- ✅NVMe-Hosting สิงคโปร์ | ✨New
- ✅NVMe-Hosting สิงคโปร์
- ✅NVMe-Hosting (UK)
- ✅Hosting Unlimited (TH/SG)
- ✅CloudLinux-Hosting (Thai)
- ✅PleskCP Hosting Linux
- ✅PleskCP Hosting Windows
- ⭐SSD Reseller Hosting
- ⭐E-mail Services by nk
- ⭕Cloud VPS กำหนดเอง
- ⭕VPS Linux CAT,NTplc
- ⭕VPS Windows CAT,NTplc
- ⭕VPS Linux for business TH
- ⭕VPS Windows for business TH
- ⭕Cloud VPS Server Thai
- ⭕Cloud VPS Server Singapore
- ⭕Cloud VPS Server USA
- ⭐Dedicate Server
- ⚙️Radio online
- ⚙️Software license
- ⭕cPGuard Security
- ⚙️SSL Certificates
- SEO Tools
- จดโดเมนเนมใหม่
- ย้ายโดเมนมาที่เรา
- ข่าวประกาศ
- คู่มือการใช้งาน
- สถานะเน็ตเวิร์ก
- สร้างรายได้
- SSL to PFX Converter
- Contact Us
-
More
หมวดหมู่
CloudLinux
4
Backup & Restore✅
2
clamav
1
Cloud VPS Server✅
83
cPGuard Security⭕
3
Dedicated Server
3
Domain & Sub Domain
26
FTP & File Manager✅
6
htaccess
24
imunify360
1
MySQL phpMyAdmin
6
Seafile Cloud Storage
1
Security
9
SEO
9
session
1
SSL Certificate
6
Tailwind CSS
1
Tip & Technique
18
website builder
1
กฎหมาย พ.ร.บ.Law Act
5
คู่มือ CentOS Web Panel
1
คู่มือ CMS✅
40
คู่มือ DirectAdmin✅
67
คู่มือ Plesk Control Panel
9
คู่มือ Radio online
3
คู่มือ VestaCP Hestia Control Panel
7
คู่มือ เว็บเมล์ E-Mail✅
43
วิธีการใช้บริการ ✅นครไอเทค
7
หมวดหมู่
Tag Cloud
Security เบื้องต้นสำหรับเว็บ php Print
- 0
Was this answer helpful?
Related Articles
Permission คือ อะไร มีความสำคัญอย่างไร และมีการตั้งค่าตัวเลข อย่างไร ?
การตั้งค่า Permission หรือ การ CHMOD ไฟล์ หรือ โฟลเดอร์ ของเว็บไซต์
ที่ใช้บริการ พื้นที่ฝากไฟล์...
วิธีการเปลี่ยน Port Remote Desktop
วิธีการเปลี่ยน Port Remote Desktop
1. Start -> Run
2. พิมพ์คำสั่ง regedit ในช่อง Open...
เสริมความปลอดภัยให้ Joomla ด้วย Apache Mod_Rewrite
เสริมความปลอดภัยให้ Joomla ด้วย Apache Mod_Rewrite
Joomla เป็น Opensource CMS...
เมื่อ Joomla โดน Hack ต้องทำอย่างไร
เมื่อ Joomla โดน Hack ต้องทำอย่างไร
เมื่อผู้ใช้บริการ Hosting ที่ใช้ Joomla ...
วิธีตรวจสอบ Virus & Malware Scan ใน Directadmin
1. หลังจาก Login เข้าสู่ระบบ Directadmin และเลือก “Virus & Malware...
Tag Cloud
Loading...
Loading...