EN 首页

Security Toolkit

BasicAuth / .htaccess 生成器

快速生成 Apache .htpasswd 条目和相应的 .htaccess 代码片段。

输入

授权标头

.htaccess 代码片段

.htpasswd 行

下面生成的 .htpasswd 使用 Apache {SHA} 格式以实现仅浏览器兼容性。在生产环境中,首选使用 htpasswd -B 生成的 bcrypt。

快速测试命令