设置proftpd+mysql的虚拟FTP服务

具体设置参考:http://www.howtoforge.com/proftpd_mysql_virtual_hosting

按照上面的设置完成后,还需要的操作:
1、允许恢复上传
在proftpd.conf里添加一行:

AllowStoreRestart on

2、权限控制
比如,控制只读,可以在文件权限上设置,把写权限去掉,也可以在FTP权限里进行控制。
在FTP里进行权限控制,在相应目录下创建一个.ftpaccess文件,里面内容为:

<limit STOR>DENYALL</limit>

而专门供上传的目录,需要控制为不可删除:

<limit DELE>DENYALL</limit>

This entry was posted in Linux and tagged , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string VQd0ee to the field below:

以新浪微博帐号登录