<address id="bbrpp"><listing id="bbrpp"><meter id="bbrpp"></meter></listing></address>
<form id="bbrpp"><th id="bbrpp"><th id="bbrpp"></th></th></form>

      <strike id="bbrpp"><p id="bbrpp"><dl id="bbrpp"></dl></p></strike>
        <noframes id="bbrpp"><address id="bbrpp"></address>
        <form id="bbrpp"></form>
        <noframes id="bbrpp"><address id="bbrpp"><nobr id="bbrpp"></nobr></address>
          <noframes id="bbrpp"><form id="bbrpp"><th id="bbrpp"></th></form>

          云南網站建設創新企業 昆明多彩網絡公司

          |網頁對話|電話:0871-63215311

          上傳文件應該注意的幾點

          來源:昆明多彩網絡公司 日期:2010-09-24 閱讀: 發表評論

          文件上傳幾乎每個網站用得到,圖片的插入,外部文件的引用,但是文件上傳功能也飽受詬病,因為它為黑客提供了便捷的通道

          需要注意以下幾點:

          1、權限限制,不要讓游客就能上傳文件,這樣非常危險,對于后臺使用的上傳功能,可以使用session通行證。

          2、上傳文件類型限制,比如插入圖片的就限制為jpg、gif等圖片格式,千萬不要允許任意類型的文件。

          3、限制上傳文件的執行權限,如果第二點沒限制好,黑客很有可能上傳一些木馬,并在線執行它。

          4、上傳文件的大小和時間限制,這樣做主要師為了節省服務器的帶寬和資源。

          發表評論評論列表(有 條評論)

          網頁對話 0871-63215311
          国产无码字幕在线_碰超免费人妻中文字幕_先锋亚洲精品资源_亚洲人妻电影播放