fckeditor 防止上傳非法文件 增加登錄判斷
更新時間:2012年06月27日 10:57:53 作者:
fckeditor 防止上傳非法文件 增加登錄判斷,需要的朋友可以參考下
fckeditor\editor\filemanager\connectors\asp 目錄下 兩個文件connector.asp upload.asp 里判斷是否登錄后臺
connector.asp
If ( ConfigIsEnabled = False ) Then
SendError 1, "This connector is disabled. Please check the ""editor/filemanager/connectors/asp/config.asp"" file"
End If
在這段代碼之前增加身份判斷
if 沒登錄 then
SendError 1, "no login"
end if
upload.asp
if
fckeditor 目錄改名 盡量改成fckeditor沒有關(guān)系的名字
connector.asp
If ( ConfigIsEnabled = False ) Then
SendError 1, "This connector is disabled. Please check the ""editor/filemanager/connectors/asp/config.asp"" file"
End If
在這段代碼之前增加身份判斷
if 沒登錄 then
SendError 1, "no login"
end if
upload.asp
if
fckeditor 目錄改名 盡量改成fckeditor沒有關(guān)系的名字
相關(guān)文章
又一個不錯的FCKeditor 2.2的安裝、修改和調(diào)用方法
又一個不錯的FCKeditor 2.2的安裝、修改和調(diào)用方法...2007-11-11常用網(wǎng)頁編輯器漏洞手冊(全面版)fckeditor,ewebeditor
常用網(wǎng)頁編輯器漏洞手冊(全面版)fckeditor,ewebeditor,使用這類編輯器的朋友一定要注意下。2011-04-04SyntaxHighlighter?Autoloader(自動加載)最優(yōu)方式
SyntaxHighlighter是一款用于web頁面的代碼著色工具,可以用來著色多種語言,可以是HTML,CSS,Javascript,還可以是C,JAVA等編程語言,這里為大家介紹一下比較好的加載方案2023-06-06使用 CodeMirror 打造屬于自己的帶高亮顯示的在線代碼編輯器
寫這個的目的是因?yàn)橹绊?xiàng)目里用到過 CodeMirror,覺得作為一款在線代碼編輯器還是不錯,也看到過有些網(wǎng)站用到過在線代碼編輯,當(dāng)然我不知道他們是用什么做的2018-02-02fckeditor常用Js,獲取fckeditor內(nèi)容,統(tǒng)計(jì)fckeditor字?jǐn)?shù),向fckeditor寫入指定代碼
fckeditor常用Js,獲取fckeditor內(nèi)容,統(tǒng)計(jì)fckeditor字?jǐn)?shù),向fckeditor寫入指定代碼2010-08-08整合ckeditor+ckfinder,解決上傳文件路徑問題
現(xiàn)在fckeditor已經(jīng)改名為ckeditor,上傳控件也分離為ckfinder,按照說明文檔的默認(rèn)配置會出現(xiàn)上傳路徑不正確的情況,因?yàn)槲覀兊木W(wǎng)站可以通過定義默認(rèn)網(wǎng)站、虛擬目錄、以及放在網(wǎng)站的子目錄下進(jìn)行訪問2011-11-11