Htpasswd generator

Encrypting algorithm

Logins

Passwords

Path to .htpasswd file relative to your server's root

Comma separated list of particular files to protect. Leave empty to protect entire folder.

.htpasswd

.htaccess

.htpasswd is used to store password and usernames for basic authentication on an Apache HTTP Server. it is a flat-file. The htpasswd file is given in the .htaccess configuration

For example, when encrypting algorithm is MD5, logins is user, passwords is password, then .htpasswd will be user:$apr1$A7Rt13eX$r46Zuo3ntW5v2rzssdB2F1 , the .htaccess file will be

AuthName "Restricted Area"
AuthType Basic
AuthUserFile mefancy
AuthGroupFile /dev/null;
require valid-user

calculator.cpu.com.cn provides you helpful and handy calculator resources.