您现在的位置是:网站首页> 编程资料编程资料
fckeditor 防止上传非法文件 增加登录判断_网页编辑器_
2023-05-25
323人已围观
简介 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没有关系的名字
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没有关系的名字
相关内容
- 百度编辑器从Json对象中取值,完成初次渲染,在编辑器内画表格_网页编辑器_
- fckeditor编辑器在php中的配置方法_网页编辑器_
- fckeditor在ie9中无法弹出对话框的解决方法(弹出层兼容问题)_网页编辑器_
- 彻底解决ewebeditor网站后台不能上传图片的方法_网页编辑器_
- 网页编辑器FCKeditor 2.6.4精简配置方法_网页编辑器_
- FCKeditor 2.6.5 ASP环境安装配置使用说明_网页编辑器_
- FCKeditor 2.6.6在ASP中的安装及配置方法分享_网页编辑器_
- ckeditor的使用和配置方法分享_网页编辑器_
- PHP中CKEditor和CKFinder配置问题小结_网页编辑器_
- Fckeditor编辑器内容长度限制统计实现方法_网页编辑器_
