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

FTP服务器
FTP服务器关于权限的安全防范问题
内网IP建ftp服务器教程
配置记录FTP传输情况的Linux FTP服务器
FTP服务器架设教程之安全篇
教你在Red Hat Linux 9下架设FTP服务器
用LINUX架设FTP服务器
Windows中IIS内FTP服务器高级配置
远程也能修改FTP用户密码
实战:用Linux构建高效FTP服务器
全面提高FTP服务器的安全性能

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


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

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

以下为引用的内容:
  #ThisisabasicProFTPDconfigurationfile(renameitto
  #proftpd.confforactualuse.Itestablishesasingleserver
  #andasingleanonymouslogin.Itassumesthatyouhaveauser/group
  #"nobody"and"ftp"fornormaloperationandanon.
  
  ServerName&!quot;test.com.cnFTPServer"
  ServerTypestandalone
  DefaultServeron
  
  #Port21isthestandardFTPport.
  Port21
  #Umask022isagoodstandardumasktopreventnewdirsandfiles
  #frombeinggroupandworldwritable.
  Umask022
  
  #TopreventDoSattacks,setthemaximumnumberofchildprocesses
  #to30.Ifyouneedtoallowmorethan30concurrentconnections
  #atonce,simplyincreasethisvalue.NotethatthisONLYworks
  #instandalonemode,ininetdmodeyoushoulduseaninetdserver
  #thatallowsyouto&!nbsp;limitmaximumnumberofprocessesper service
  #(suchasxinetd)
  MaxInstances30
  
  
  RequireValidShelloff
  ServerIdentoff
  
  
  #Settheuserandgroupthattheservernormallyrunsat.
  Usernobody
  Groupnobody
  
  #Normally,wewantfilestobeoverwriteable.
  <Directory/*>
  AllowOverwriteon
  </Directory>
  
  #Abasicanonymousconfiguration,nouploaddirectories.
  <Anonymous/home/ftp>
  Userftp
  Groupftp
  #Wewantclientstobeabletologinwith"anonymous"aswellas"ftp"
  UserAliasanonymousftp