【发布时间】:2015-04-06 18:46:33
【问题描述】:
HTTP 身份验证有几种方法:Basic Authentication、Digest Access Authentication、NTLM HTTP Authentication(任何其他方法)?
另一方面,在 Apache Web 服务器上有一个基于 .htaccess 和 .htpasswd 的身份验证,在 nginx 上有一个带有 .htpasswd 的模拟变体。
我想了解:Apache 和 nginx 上基于 .htpasswd 的身份验证实际上是什么。它与 HTTP 基本身份验证之间的关系是什么?是否类似于概念的“实施”?如果是,还有哪些其他实现方式?
基本 HTTP 身份验证使用简单的 user:password 架构。
【问题讨论】:
标签: apache .htaccess authentication nginx basic-authentication