Archive for category security

htpasswd

htpasswd is a command line tool for creating and updating user authentication files. These files are primarily used by apache to authenticate HTTP users.

Creating a password file

CODE:
  1. htpasswd -c /path/to/.htpasswd username

Adding a user & password

CODE:
  1. htpasswd -b /path/to/.htpasswd username password

No Comments