1.Go to admin folder create 2 files .htacces and .htpasswd
2.open .htacces
put these code in it
#remeber /home/admin is path complete path to admin folder
AuthUserFile /home/admin/.htpasswd
AuthName EnterPassword
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
#123.456.678.467 => your ip
order deny,allow
deny from all
allow from 123.456.678.467
3.open .htpasswd
#enter your username:passwd
#you can add many user
hi_jakkk:666666
i just found it somewhere and it works...and shared for future or someone who need it..
2.open .htacces
put these code in it
#remeber /home/admin is path complete path to admin folder
AuthUserFile /home/admin/.htpasswd
AuthName EnterPassword
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
#123.456.678.467 => your ip
order deny,allow
deny from all
allow from 123.456.678.467
3.open .htpasswd
#enter your username:passwd
#you can add many user
hi_jakkk:666666
i just found it somewhere and it works...and shared for future or someone who need it..
Comment