是否可以限制特定计算机对网站的访问?
注意:我不是问如何限制通过静态 IP 地址向站点请求,这已在我的 .htaccess 文件中完成。我有一个需要在路上经常访问的特定站点,但只能从特定的机器上进行访问。
简而言之,是否可以根据电脑内除 IP 之外的特定内容来限制对特定网站的访问?
Note: I am not asking how to limit asking to a site by means of a static IP address, this is already done in my .htaccess file. I have a particular site I will need to access on the road often but will only be doing so from a particular machine.
In short, is it possible to limit access to a particular website based on something specific within a pc other than IP?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 Web 服务器上设置 SSL 并使用仅存在于该特定计算机上的证书对其进行身份验证。
看看这篇文章进行介绍。
Set up SSL on the web server and authenticate to it using a certificate that only exists on that particular machine.
Have a look at this article for an introduction.
也许您可以手动为您创建一个 cookie,然后您的网站就会让您进入?
Pehaps you could manually create a cookie just for you and then your site will let you in?
在网站上进行身份验证..需要特定用户名和密码的快速表单,一旦设置,创建一个保留信息的会话..您不希望其他人看到的所有页面只需检查会话是否存在(如果不发送)到登录表单..
do authentications on the site..quick form that requires a specific username and password, once its set, create a session that keeps the information.. all the pages you dont want others to see just check if the session is present if not send them to the login form..