怎么能让vsftpd只能下载而不能浏览呢?

由 bason 在 07-01-2004 00:24 发表:

怎么能让vsftpd只能下载而不能浏览呢?

我已经看了本版的文档,但都没找到相关内容。

急用,谢谢。


由 Snoopy 在 07-01-2004 00:57 发表:


对方看不到如何下载 ? 这问题不清楚,得问下其他兄弟


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 kiron 在 07-01-2004 01:04 发表:

回复: 怎么能让vsftpd只能下载而不能浏览呢?

> quote: > > * * * > > 最初由 bason 发表
>
> **我已经看了本版的文档,但都没找到相关内容。
>
>
>
>
>
> 急用,谢谢。 ** > > * * *

没有这么用的

浏览需要有读权限,下载也需要有读权限,要是想把浏览禁用,会把下载的权限也去掉,无法做到


个人网站:http://linuxworld.hostrocket.com

网站留言本:http://linuxworld.hostrocket.com/newsite/index.php


由 bason 在 07-01-2004 01:48 发表:


可是windows下的serv-u就可以。

也就是只能read不能list。


由 Snoopy 在 07-01-2004 03:25 发表:


我知道他的意思,是可以实现的,可我不知道怎办

如: ftp://192.168.1.1/linuxsir.txt

你是不是想这样直接就可以下载,而用ftp登录192.168.1.1的时候是看不到linuxsir.txt ???


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 ziyang 在 07-01-2004 10:57 发表:


去掉文件夹的读权限就可以了


CIII 1.3G/intel 815EP/40G 7200r/32M GEFORCE2 mx400/256MSDR

debian sid/lfs

穷则独善其身,富则妻妾成群

葡萄美酒夜光杯,金钱美女一大堆

长江后浪推前浪,一代更比一代浪

笑一笑,十年少,少娶妃子多睡觉


由 Snoopy 在 07-01-2004 13:33 发表:


去掉那你怎么下 ?

另一个方法,用一个a用户来放些东西,其他用户都看不到,

下载时用a用户下载,登录时用其他用户,因为他们都看不到

使用chgrp和chown,chmod将一个文件给一个组,然后将需要的用户加进,然后chmod


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 Glue 在 07-01-2004 14:18 发表:


用proftp/pureftp是可以做到的.


-_-


由 ziyang 在 07-01-2004 17:02 发表:


> quote: > > * * * > > 最初由 Snoopy 发表
>
> 去掉那你怎

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus