Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法根据 ssh 密钥限制对网站的访问?ssh 的工作方式完全相同:
如果不是,满足上述条件的最佳替代方案是什么?使用 htuser 会更好吗?我不能根据 IP 地址限制访问,因为访问该站点的人很可能并不总是拥有相同的 IP。
当然,使用Mutual-SSL-Authentication,您可以使用 SSL 证书保护您的网站。
我不知道你的环境,但这里有一篇关于如何在 Tomcat 上执行相互身份验证的非常详细的文章。