当前位置: 首页 > 图文教程 > 服务器 > Web服务器 > ProFtpd快速指南(六)

Web服务器
教你如何巧妙设定匿名FTP的安全
用SSL加密增强FTP服务器安全性
FTP的建立与维护
SERV-U 6002版安全设置全攻略(1)
SERV-U 6002版安全设置全攻略(2)
SERV-U 6002版安全设置全攻略(3)
SERV-U 6002版安全设置全攻略(4)
FTP空间不足 Windows 系统性能监控来报警
远程修改Serv-U FTP用户的登录密码
超强图片编辑利器帮你轻松处理相片
邮件服务器的安全解决方案
用MDaemon搭建邮件服务器(上)
用MDaemon搭建邮件服务器(中)
用MDaemon搭建邮件服务器(下)
用Win 2003架设邮件服务器
Sendmail 554 错误的解决
配置你的第一台e-mail服务器(上)
配置你的第一台e-mail服务器(下)
三分钟打造反垃圾邮件服务器
建立大容量Web界面的Email系统

Web服务器 中的 ProFtpd快速指南(六)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-02   浏览: 33 ::
收藏到网摘: n/a

  笔者的proftpd.conf配置文件内容为:

# This is a basic ProFTPD configuration file (rename it to
# proftpd.conf for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName &! quot;test.com.cn FTP Server"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to&! nbsp;limit maximum number of processes per&nb sp;service
# (such as xinetd)
MaxInstances 30


RequireValidShell off
ServerIdent off


# Set the user and group that the server normally runs at.
User nobody
Group nobody

# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories.
<Anonymous /home/ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp