1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Restrict FTP access by IP ?

Discussion in 'Plesk for Linux - 8.x and Older' started by Jaxelos, Sep 28, 2005.

  1. Jaxelos

    Jaxelos Guest

    0
     
    Can I restrict the FTP access by IP in Plesk ?

    I have some users that I think are sharing the account and I want to limit the FTP access for a specific class C range.

    Is it possible how ?
     
  2. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Per the ProFTPd docs at:

    http://www.proftpd.org/localsite/Userguide/linked/x1021.html
    Code:
    #
    # Simple .ftpaccess file to control which IPs
    # can access this directory structure
    #
    <Limit>
    	Allow 212.32.5.0/26
    	Allow 158.152.0.0/16
    	DenyAll
    </Limit>
    #
    # end
    #
    This is like creating an .htaccess file, same principles in any case. You would not do this from the Plesk Control Panel.
     
  3. Jaxelos

    Jaxelos Guest

    0
     
    Ok , I got the ideea , but I think this will limit the FTP access to ALL domains hosted on the server and not only to one ? right ?

    I want to limit FTP access for a specific user who owns the domain mydomain.ltd .
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    So create the .ftpaccess file and put it into that domain's docroot directory.

    This example is quoted from their site, not that it applies to your direct question, just another example for the explanation above it.... For more info, please see the following site:

    ProFTPD Developer's Guide
     
  5. Jaxelos

    Jaxelos Guest

    0
     
    Hmm .. yes , should work.

    You seem always to have the answer jamesyeeoc.
    Thank you.

    I haven't used linux since 4-5 years ago and most of my knowledge got lost or simply never been there. Time came for me to get it started again. Reason = Need :)
     
  6. jamesyeeoc

    jamesyeeoc Guest

    0
     
    That's like FreeBSD and myself. Haven't used it in many years, and now there is a resurgence of it here in the Plesk arena and I feel a bit lost.... :)
     
Loading...