Ban Filetypes

Discussion in 'General' started by alexillsley, Feb 11, 2007.

  1. alexillsley

    alexillsley New Member

    Hi,
    How can I ban certain file types of being uploaded via FTP?
    example: prevent upload of *.exe
    Thanks,
    Alex
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I'm not sure if this is possible... :confused:
     
  3. alexillsley

    alexillsley New Member

    Ill check out the proftpd forums
     
  4. alexillsley

    alexillsley New Member

    Yay

    After checking through the proftpd docs i found you can ban files by adding the following to the proftpd.conf
    Code:
    <Global>
    PathDenyFilter "(\.exe)$"
    </Global>
    
     

Share This Page