Allow some specific IPs
By using .ftpaccess file you can permission to access your website data for some specific users who are using same IP addresses. For example if you want to deny all other IP rather than 192.168.1.1 then you have to add following code on your .ftpaccess file
<LIMIT ALL> DenyAll Allow 127.0.0.1 Allow 192.168.1.1 </LIMIT>
It will allow on 192.168.1.1 to access your data through FTP and block all other IPs to access your FTP data. If you are not sure about your exact IP address or want to know your IP address then you can check your IP address by click here. It will help you find out your IP address and just replace 192.168.1.1 with your IP address.
What is Static IP?
Static IP addresses are represent such type of IPs which is specially provided by your Internet Service Provider (ISP). It always remain same and never change until you request to change or cancel the static IP on your network. .ftaccess file is very useful under static IP because you will never face problem with your changed IP address to access your data via FTP. If you not know that which type of IP you are using then you have to contact your ISP (Internet Services Provider) to get information regarding your IP.
What is Dynamic IP?
Dynamic IPs will never remain same, they change continuously on your network. If you are using a Dynamic IP address then you never need to use .ftpaccess file on your server because once your IP has changed you will lose access on your server. But if you want to use .ftpaccess on your server then you have to add following code on your .ftaccess file to access your FTP
<LIMIT ALL> DenyAll Allow 127.0.0.1 </LIMIT>
Note:- 127.0.0.1 is used for the system purpose you not need to change it otherwise you will lose access on your server
Where I can find my .ftpaccess file on my server?
.ftpaccess file help you to increase the security level on your web hosting server. As we know that mostly hackers try to hack websites through FTP access, so it will help you to block unauthorized access on your server through IP. .ftpaccess file is located on your root folder. You can make change on your .ftaccess at anytime by accessing your cPanel or FTP or other admin panel.