07-12-2008, 09:24 AM
As the title suggests, I am looking for a way to limit the downloading of a file to one per IP address. The company I work for wants to put a coupon on our website, but restrict it to one per customer. The easiest way to do that in my opinion is to restrict the coupon to one per IP address. Does anyone have any ideas or suggestions on how to accomplish this??
07-12-2008, 09:31 AM
There is no efficient way to track users based on their Ip address. There may be more than one user sharing a single IP, or there may be users who use dynamic IPs to connect to Internet. You may have to use a username-password login mechanism for this.
07-13-2008, 08:57 PM
Not to mention shared computers, such as at libraries, which have many different users under one IP. There isn't an excellent method for doing this kind of thing (at least that I'm aware of). There are always ways around. A login/register would (usually) require a password, with only one account available with the same email. But then you could create many emails. I suppose one way would be to require a credit card number or something at the registration, and not a ton of users are going to just give our their cc number to a random site.
Having said that, login/register is probably the best option. Not a ton of people will create 100 different email addresses/ips/whatever to get 100 $1-off coupons for a water bottle... :p