Saturday, 28 March 2015

Restrict FTP access for users

 FTP protection, we can suggest him for FTP restrictions.

There is a file called .ftpaccess, this file may contain a set of rules that will allow or deny the connection via FTP depending on different aspects or the situation
et’s say you want to deny connections via FTP to your account from all IP’s except yours. In this case, .ftpaccess is what you need.
 Here is what you will need to insert into your .ftpaccess:
Code: [Select]

    <Limit ALL>
    DenyAll
    Allow 127.0.0.1
    Allow w.x.y.z
    </Limit>

 
Replace w.x.y.z with clients IP address. Ask the client to check his IP in: http://www.whatismyip.com/

Note: You need to put this file with configuration under the folder you are planning to restrict access.

No comments:

Post a Comment