PasswordProtect
.htaccess file
- Open your /public/.htaccess file, and add the following:
AuthUserFile .htpasswd
AuthType Basic
AuthName "Secured area"
Require valid-user
.htpasswd file
- Create a .htpasswd file, and add the following:
- you can create hashed passwords on this site
admin:9dKtKHPyz51Vs
for admin 123456