Term of the Moment

crypto anchor

Look Up Another Term

Redirected from: .htaccess

Definition: HTAccess

(HTTP Access) The authorization system in Unix and Linux Web servers. Stored in the directory (folder) that needs to be secured, statements in the .htaccess file authorize certain users, and if permission is granted, all subdirectories in that directory can be accessed as well. The password is created from the command line or with an .htaccess generator program.

.htaccess Points to .htpasswd
The AuthUserFile line in .htaccess is a link to the actual password stored in another directory.

   Sample .htaccess File

   AuthType Basic
   AuthName "Documents"
   AuthUserFile "/home/abc/passwords/docs/.htpasswd
   Require valid-user

   Sample .htpasswd file