apache - What is the realtionship between HTTP Basic Auth and .htpasswd based Authentication? -
apache - What is the realtionship between HTTP Basic Auth and .htpasswd based Authentication? -
there several approachs of http authentication: basic authentication
, digest access authentication
, ntlm http authentication
(any other ones)?
on other side there .htaccess
& .htpasswd
based authenticazion on apache web servers , analog variant .htpasswd
on nginx.
i want understand: .htpasswd
based authentication on apache , nginx actually. realtionship between , http basic authentication? "implementation" of concept? if yes, whuch other implementation there?
the basic http authentication uses simle user:password
schema.
there 2 standard http authentication methods: basic access authentication (part of http/1.0 spec, rfc1945) , digest access authentication (latest according rfc2617).
.htpasswd
mutual name file of apache's flat-file format used store user credentials. managed either htpasswd
(basic) or htdigest
(digest) command-line utilities. nginx doesn't reinvent wheel , uses apache's established format. example, on debian there's apache2-utils
2 aforementioned utilities (and others), can install utilities separately server.
.htaccess
apache's advertisement hoc per-directory way override configuration.
apache .htaccess authentication nginx http-basic-authentication
Comments
Post a Comment