Skip to content

Selah.

Pause, and calmly think on that.

Menu
  • About
  • Chords
  • Free Gift
  • Highlights
  • Links
  • Microposts
  • The New Covenant
  • The Small Web
Menu

htpasswd limits passwords to 8 characters (or: read the manual dummy)

Posted on June 7, 2014August 2, 2014 by Shovas

Turns out htpasswd limits passwords to 8 characters in length by default prior to Apache HTTPd v2.2.18. I run CentOS 5 with HTTPd v2.2.3. I don’t rely on .htaccess password access for anything serious but I do use it as an https ‘front door’ for one of my addresses which does have its own properly secured password access. I’ve been running it like this for years and I was sure something funny was going on entering the username/password combo in there. I swore I was noticing incorrect passwords getting through. Today I decided to test it out thoroughly.

After 15 minutes of testing I was getting very concerned there was a security hole here, but I knew that probably wasn’t the case. A few minutes later I decided to open up the docs and sure enough, it was my fault:

-d Use crypt() encryption for passwords. This is not supported by the httpd server on Windows and Netware and TPF. This algorithm limits the password length to 8 characters. This algorithm is insecure by today’s standards. It used to be the default algorithm until version 2.2.17.

There you go. That explains it. On one hand I know it’s my fault for not knowing my tools, but on the other it’s stretching it to be remembering these things. Oh well, always test your implementations I guess.

Comment Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Loading ...

No more microposts.

  • Solving the mystery of the DEVIL’S CORKSCREW (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Witnessing the time of DRAGONS – What dinosaur behaviours did humans experience before the flood? (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Fire & Ice: The surprising story of the Bandera Volcano Ice Cave (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Humans before plants? Why Genesis does not contradict itself. (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Ancient Artwork Shows Jerusalem Left Unscathed (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Reading: Not a happy accident (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Creation Focus News And Views (Creation Magazine 2026 Vol. 48 No. 3)
  • Creation Focus News And Views (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Creation Magazine Editorial and Focus News And Views (Creation Magazine Summer 2026 Vol. 48 No. 3)
  • Creation Feedback From Followers (Creation Magazine Summer 2026 Vol. 48 No. 3)

bible canada centos christ christian christmas church creation Creation Magazine evolution faith family game genesis God gog good google government heart iracing jesus life linux love matthew music pc poem poetry quote racing romantical salvation science sim sin Small Web Smallweb Finds truth update video windows word YouTube

Log in
© 2026 Selah. | Powered by Superbs Personal Blog theme