Forum Moderators: phranque

Message Too Old, No Replies

htaccess and ftp access

         

omoutop

11:45 am on Mar 6, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello all.

I was wondering if i can use htaccess to restrict ftp access to a site to all but one ip (so only users from the specified ip can ftp files there)
The site must be able to work normaly for visitors.

Thanks in advance for any tips/help

g1smd

12:53 pm on Mar 6, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The .HTaccess is only for HTTP access to your site.

FTP settings are unrelated, and somewhere completely different.

Caterham

5:15 pm on Mar 6, 2009 (gmt 0)

10+ Year Member



Take a look at mod_ftp [httpd.apache.org] if you wish to use Apache to handle the file transfer protocol on your server with it's authentication modules instead of another FTP daemon.