Secured website using .htaccess

As we know now .htaccess used a lot for source code, from security to SEO and website optimization when the page loads, so this article I will guide you to use .htaccess to secure your website based on the principle of Mod_Security and apache the service Hosting Linux of Hostvn.net

Deny all ip and only allow your IP to your website with .htaccess admincp

1 : apple 1 file .htaccess on your computer or via the Cpanel hosting của bạn

2 : Open the .htaccess file using any twisting workshop, Notepad I chose

3 : add the following to the .htaccess file

order deny,allow
allow from 210.245.90.203
deny from all

the lines of text on the IP 210.245.90.203 the directory will allow your admincp, Additionally, other IP will not be accessible except Ip is allow, Ip computer to check you have access to the following url for your IP CLICK HERE

 

 

VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)

Secured website using .htaccess, 5.0 out of 5 based on 1 rating