如何限制网页访问美国或北美唯一 [英] How to limit web site access to USA or North America only
问题描述
这是一个企业的网站,所以私人。我们希望通过限制IP地址为美国/加拿大和北美的访问。基于IP范围,将允许用户/密码来另有-'no访问得到。只是试图限制从任何海外黑客曝光。
This is a corporate site so Private. We want to limit access by IP address to USA/Canada or North America. Based on IP range, would allow user/pwd to get in otherwise -'no access'. Just trying to limit hack exposure from anything overseas.
推荐答案
如果您的主要目的是通过IP prevent未经授权的访问到您的网站...这永远不会工作。它很容易绕过。用户/密码将是一个更安全的选择。
If your main aim is to prevent unauthorized access to your website by IP... that will never ever work. Its so easy to bypass that. a user/pwd would be a more secure option.
要回答你的问题,如果你有一定的功能,或者你想要做一个完整的网站块,这是一个教程:
To answer your question, if you have certain features or a complete website block that you want to do, this is a tutorial:
的http://blog.newagesolution.net/2008/11/how-to-block-country-and-ip-addresses.html
这篇关于如何限制网页访问美国或北美唯一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!