当前位置: 首页 > 新闻动态 > 软件编程

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

作者:用户投稿 浏览: 发布日期:2026-01-16
[导读]: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没有关系的名字
免责声明:转载请注明出处:http://shjed.com/news/92139.html

扫一扫高效沟通

多一份参考总有益处

免费领取网站策划SEO优化策划方案

请填写下方表单,我们会尽快与您联系
感谢您的咨询,我们会尽快给您回复!