On Jun 29, 8:13 am, Vladimir Shulyak <nc0...@gmail.com> wrote: > > You can't rely on just the IP. If you do then you will have problems > > where large numbers of people sit behind a single IP, as will be case > > where corporate firewall is used, or where proxies or other gateway or > > NAT solution are used by ISPs. > > That's right, try to use cookie check instead of IP check. >
Except cookies are very easy to fake .... it depends on how serious you want your voting to be; whether you could tolerate a little hacking or not. http://stackoverflow.com/questions/1042580/best-way-to-store-views-of-an-topic/ Is a discussion on this in mysql/php but the general principles are the same. Basically, IP addr is the only thing it's really hard to play around with - user-agent, cookie, everything else is fakable with ease. But if you use IP addr only then 2 people sharing the same IP address (different computers on the same broadband connection, etc) can only vote once. It's a problem. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---