proteger son site avec un htacess et htpasswd

Il faut avec 2 fichiers un .htacess avec

AuthUserFile /repertoire_protege/.htpasswd
AuthGroupFile /dev/null
AuthName Area_51
AuthType Basic

require valid-user

et un htpasswd avec son mots de passe

monmotsdepass:XXXXXXXXXXXXX

Publications similaires