信息发布→ 登录 注册 退出

fckeditor 防止上传非法文件 增加登录判断

发布时间:2026-01-11

点击量:
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没有关系的名字
标签:# editor  # ConfigIsEnabled  # disabled  # file  # login  # check  # config  # br  # connectors  # fckeditor  # filemanager  # asp  # connector  # upload  # 目录下  # 判断是否  # 这段  # 非法文件  
在线客服
服务热线

服务热线

4008888355

微信咨询
二维码
返回顶部
×二维码

截屏,微信识别二维码

打开微信

微信号已复制,请打开微信添加咨询详情!