Preventig FTP access from all except few IP adresses?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pedja
    Senior Member
    • Mar 2004
    • 329

    #1

    Preventig FTP access from all except few IP adresses?

    Die to recent attacks that involve keyloging ftp passwords I would like to protect sites by setting them to accept ftp logins form just few known IP's. Cpanel offers option just to add denied IP's.

    Is there other way to achieve this?
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    Unfortunately this cannot be done. Even the deny IP address option in cPanel only applies to HTTP.

    Comment

    • Frank Hagan
      Senior Member
      • Mar 2004
      • 724

      #3
      Pedja, that's a great idea. I'm surprised there isn't an .htaccess directive that would apply to FTP access or to the port it uses, but I couldn't find one.

      Comment

      • ZYV
        Senior Member
        • Sep 2005
        • 315

        #4
        Actually I vaguely remember that ProFTPd had something like that (.ftpaccess or whatever)... Am I mistaken?

        Comment

        Working...