Htpasswd generator

Overview

.htaccess files can be used to restrict access to web pages on an Apache web server. A simple access control mode provided by Apache is called basic authentication. Usernames and passwords are stored in a file called .htpasswd; passwords are encrypted.

This tool generates a line that can be directly added into the .htpasswd for a given login and password.

For more info, please refer to the Apache documentation on authentication, authorization and access control and especially mod_auth_basic.

Enter username and password

Encryption mode:


Remarks