Make-My-htpasswd

Tags: #PHP , #htpasswd

From Wikipedia, the free encyclopedia

.htpasswd is a flat-file used to store usernames and password for basic authentication on an Apache HTTP Server. The name of the file is given in the .htaccess configuration, and can be anything although ".htpasswd" is the canonical name. The file name starts with a dot, because most Unix-like operating systems consider any file that begins with dot to be hidden. This file is often maintained with the shell command "htpasswd" which can add, delete, and update users, and will properly encode the password for use[1] (so that it is easily checked, but not reversed back to the original password).

The file consists of rows, each row corresponding to a username, followed by a colon, followed by a string containing the hashed password optionally prepended by an algorithm specifier ("$2y$", "$apr1$" or "{SHA}") and/or salt. The hash historically used "UNIX crypt" style with MD5 or SHA1 as common alternatives, although as of version 2.2.18 a variant of MD5 is now the default.

thelstan:RLjXiyxx56D9s

Manage user files for basic authentication. This script manage your password creation with a nice web page (if you don't like the terminal way).


$ git clone https://git.echosystem.fr/Erreur32/Make-My-htpasswd.git

Check now with your favorite browser. https://my.superweb.site/Make-My-htpasswd !

(maybe need to check file owner)

chown www-data -R /path/to/Make-My-htpasswd

  • Finish README ;)
  • Finish Update script Version.

Usefull Sources

  • https://clipboardjs.com/ copy with magic.
  • http://wpandsuch.com/create-a-post-it-note-with-css3/

https://tools.echosystem.fr/Password/htpasswd/


[

](make-my-htpasswd.png?width=350)
    </figure>

[

](make-my-htpasswd2.png?width=350)
    </figure>

by πŸ…΄πŸ†πŸ†πŸ…΄πŸ†„πŸ†32


πŸ†“πŸ…΄πŸ…²πŸ…·πŸ…ΎοΈπŸ†‚πŸ†ˆπŸ†‚πŸ†ƒπŸ…΄πŸ…Ό