Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allow several ip address for admin login using htaccess files [duplicate]

I am doing one application in php and i want to make the admin login secure for that i need to make the admin login functionality only from one ip address.

So how can it be possible, please reply your help will be appreciated

like image 521
Asq Avatar asked Sep 30 '22 15:09

Asq


1 Answers

in your .htaccess file

order deny,allow

deny from all

allow from your ip

like image 128
Harish U Warrier Avatar answered Oct 03 '22 04:10

Harish U Warrier