.htaccess files are used to specify the security restrictions for the particular directory in Apache web server (and also other like Nginx, Ligghtd, etc ...). More informations on Wikipedia.

This tool will help you to create an htaccess and htpasswd files for Apache. It's easy to use, just enter informations in the form below.