I am just coding a small website with an admin panel. Since I am going to be the only one who will access that panel I was thinking instead of making traditional username - password matching just make simple .htaccess file to admin folder as
<Limit GET POST>
order deny,allow
deny from all
allow from myip
allow from 127.0.01
</Limit>
So the question is since my ip is static. This kind of protection will be secure or do I have to do it with username - password matching ?
Also if the idea is logical but .htaccess needs more additions what would they be ?