(E-Mail Removed) (Alex) wrote news:2ba4b4eb.0404230628.666b4c03
@posting.google.com:
> <Directory />
> AllowOverwrite on
> # This should limit access to only members of the ftpusers group
> # but it apparently isn't working as any user can FTP in.
> <Limit READ WRITE DIRS>
> AllowGroup ftpusers
> DenyALL
> </Limit>
> </Directory>
According to your configuration, any user should be abe to log in the ftp
server, but shouldn't be able to browse an read the content. Is that
correct ?
The Limit directive can't limit login except on the ip (using <Limit
LOGIN>).
You have many choice to block ftp login :
- use the /etc/ftpusers file :
http://proftpd.linux.co.uk/localsite...g_ref_UseFtpUs
ers.html
- use AuthGroupFile and maybe AuthUserFile on alternate (limited)
group/user file.
- use RequireValidShell and disable shell on invalid user.
- use a mysql database authentification where you copy allowed user, and
use the proftpd mysql directive.
Regards