TONNARK

Friday, February 21, 2014

การทำเว็บไซต์ไม่ให้ Chrome ถามเวลาที่ดาวน์โหลดไฟล์ zip ที่มีไฟล์ .exe อยู่ข้างใน

สามารถทำได้โดยการเพิ่ม Tag Content Type Zip เข้าไปที่ส่วน Header ของไฟล์เช่น
<head>
<meta http-equiv="Content-Type" content="HTML,CSS,XML,JavaScript">
<meta http-equiv="Content-Type" content="application/zip .zip">
<meta charset="UTF-8">
</head>

อ้างอิงจาก
http://www.sitepoint.com/forums/showthread.php?940794-File-(-zip)-is-not-commonly-downloaded-and-could-be-dangerousded-and-could-be-dangerous
Posted by Unknown at 5:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Blog Archive

  • ▼  2014 (4)
    • ►  October (1)
    • ►  August (1)
    • ▼  February (1)
      • การทำเว็บไซต์ไม่ให้ Chrome ถามเวลาที่ดาวน์โหลดไฟล์...
    • ►  January (1)
  • ►  2013 (13)
    • ►  September (2)
    • ►  August (11)

About Me

Unknown
View my complete profile
Simple theme. Theme images by sndr. Powered by Blogger.