How Can I Set A Website to Only Allow Certain IP's?
July 17, 2008 9:25pm CST
I'm setting up a site where I want it to only be viewed by certain IP addresses. Do you guys know any website where I can make my content only viewable to certain IP addresses that I enter? I'm selling a product and I'm worried about people giving away or selling their accounts once they are done with what they paid for. To eliminate this, since their is no need for an account, I'd like to make it so I can make a list of the allowed IP addresses. Any help is appreciated. Best response goes to the first person to make this happen.
18 Jul 08
I'm not a coder, but I believe it is possible using a server-side script. If you can link the registering IP address to the username in the database. Or if you have physical access to the server you may configure the ACL of your firewall or of Apache. The only problem with such implementation is the use of proxys, dynamic IPs, VPNs... By the way, x10hosting is a webhost with a lot of server features. You may be able to implement the methodology using that host. Best of luck!
18 Jul 08
Proxys can be a problem because it's a security risk on your side. If you do add a proxy into your IP list thinking it is a regular user, the person can simply sell the account and provide instruction on how to use the proxy rendering your security measure useless. So far, I haven't seen free programs or services that implement the features you described. If you want, you may find coders that can code for you for a small fee at eLance or getafreelancer.