Differences
This shows you the differences between two versions of the page.
htpasswd [2012/04/03 10:52] |
htpasswd [2012/04/03 10:52] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== htpasswd ====== | ||
+ | * [[Apache]] | ||
+ | * [[http://httpd.apache.org/docs/2.2/howto/auth.html|Authentication, Authorization and Access Control]] | ||
+ | * [[http://httpd.apache.org/docs/2.2/programs/htpasswd.html|htpasswd - Manage user files for basic authentication]] | ||
+ | |||
+ | Web password files such as those managed by ''htpasswd'' should not be within the Web server's URI space -- that is, they should not be fetchable with a browser. | ||
+ | |||
+ | **Create new password file** | ||
+ | |||
+ | <code> | ||
+ | htpasswd -c passwdfile username | ||
+ | </code> |