htpasswd

Create a password file

To limit access, add following to Apache virtual host entry.

Apache