How Can I Set A Website to Only Allow Certain IP's?
By DocterDew
@DocterDew (902)
United States
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.
1 person likes this
2 responses
@1337speak (170)
• Philippines
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!
2 people like this
@1337speak (170)
• Philippines
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.
2 people like this
@DocterDew (902)
• United States
18 Jul 08
I'm not sure if I'll even make enough to justify buying a coder though. I don't think anybody would be smart enough to use a proxy as it's largely focused on a younger audience of 13-18.
1 person likes this
@trustinnerd (286)
• Indonesia
18 Jul 08
im agree with above..or u can filtering some IP address connection by using some software, i guess there's lot of software that can filtering some IP.
1 person likes this