[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Disable FTP Access
- Subject: Re: [cobalt-users] Disable FTP Access
- From: Larry Smith <lesmith@xxxxxxxxx>
- Date: Tue Apr 22 10:14:01 2003
- Organization: ECSIS.NET
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tuesday 22 April 2003 11:16, Ian wrote:
> Hi Dan,
>
> > I wouldn't create the site in the GUI to begin with. I would make it
> > part of another site using an entry in httpd.conf pointing to the other
> > site's sub-directory. There's an add user tool for email only.
>
> Interesting idea that, but I dont see how I could then enable the control
> panel elements for the siteadmin/users.
>
> i.e. Surely this sort of option would make the control panel ineffective
> wouldn't it, or have I lost the plot here, which is highly likely.
>
> Is there no magical switch (i wish) that could be altered within the ftp
> config files that permits or denies access via ftp from the command line
> for a particular vsite and/or vusers...
>
> Thanks for the input, but really I still need the control panel access by
> the siteadmin to add users to the vsite etc.. Am I in lala land I wonder!
>
> All the best one and all,
According to the Proftpd docs, you can simply add a <Limit LOGIN> section to
the virtualhost section for that site and immediately shutdown all FTP to
that site:
<VirtualHost 10.0.0.1>
ServerName "My virtual FTP server"
<Limit LOGIN>
DenyAll
</Limit>
.....
</VirtualHost>
Just tested it against a site here and it works...
Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx