 The hash historically used "UNIX crypt" style with MD5 or SHA1 as common alternatives, although as of version 2.2.18 a variant of MD5 is now the default.Resources available from the Apache HTTP Server can be restricted to just the users listed in the files created by htpasswd.The .htpasswd file can be used to protect the entire directory it is placed in, as well as particular files.