Help Docs Server Administration Linux Server Administration Apache Web Server What is the Apache .htpasswd file?

What is the Apache .htpasswd file?

Learn more about the Apache .htpasswd file. This article provides the definition and purpose of the .htpasswd file and how it facilitates basic access authentication on the server.

Definition

The Apache HTTP server allows a user to configure two files which restrict access to content by “authorized” eyes only. Passwords will be stored in an encrypted format and the username will be in plaintext. One of these files which create this restricted access is the Apache .htpasswd file, a flat-file used to store usernames and password for basic authentication on an Apache HTTP Server.

For more information, visit apache.org.

Purpose

You can edit your Apache .htpasswd file(s) using FTP or SiteWorx.

Was this article helpful?