免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2282 | 回复: 3
打印 上一主题 下一主题

[FTP] 问2个问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-19 20:00 |只看该作者 |倒序浏览
1,anon_world_readable_only 什么意思
2,怎么才能取消一个用户的LS权限?(就是看不见文件 有路径的话可以下载 可以上传)

论坛徽章:
0
2 [报告]
发表于 2009-04-19 20:48 |只看该作者
http://vsftpd.beasts.org/vsftpd_conf.html 中搜索anon_world_readable_only得到:

  1. anon_world_readable_only
  2.     When enabled, anonymous users will only be allowed to download files which are world readable. This is recognising that the ftp user may own files, especially in the presence of uploads.

  3.     Default: YES
复制代码

[ 本帖最后由 diyself 于 2009-4-20 10:11 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2009-04-19 20:50 |只看该作者
http://vsftpd.beasts.org/vsftpd_conf.html 中搜索cmds_allowed得到:

cmds_allowed
    This options specifies a comma separated list of allowed FTP commands (post login. USER, PASS and QUIT are always allowed pre-login). Other commands are rejected. This is a powerful method of really locking down an FTP server. Example: cmds_allowed=PASV,RETR,QUIT

    Default: (none)

论坛徽章:
0
4 [报告]
发表于 2009-04-19 20:53 |只看该作者
在google中搜索cmds_allowed,第一条连接:http://www.sb123.org/642


  1. cmds_allowed=ABOR,CWD,LIST,MDTM,MKD,NLST,
  2. PASS,PASV,PORT,PWD,QUIT,RETR,RMD,RNFR,
  3. RNTO,SITE,SIZE,STOR,TYPE,USER,ACCT,
  4. APPE,CDUP,HELP,MODE,NOOP,REIN,STAT,STOU,STRU,SYST
  5. # ABOR - abort a file transfer
  6. # CWD - change working directory
  7. # DELE - delete a remote file
  8. # LIST - list remote files
  9. # MDTM - return the modification time of a file
  10. # MKD - make a remote directory
  11. # NLST - name list of remote directory

  12. .....


复制代码

[ 本帖最后由 diyself 于 2009-4-19 20:54 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP