Form input - restriction on one reception per IP / computer

I encode the input form of sweepstakes in php, where the user submits some information in the form and is stored in the database.

I would like to find a way to limit this form to one per person. Or reset the cookie or by IP address. What would be the best way to approach this?

I create it on a code igniter, if that matters.

+5
source share
6 answers

The simple answer is, register the IP address on the same line with the information store. If you make a cookie, a bot or user can easily delete a cookie that destroys your protection scheme. Therefore, simply register an IP address and then request each entry for uniqueness before accepting the application.

+2
source

They both have their tbh flaws. Cookies are easy to fake and easy to delete, allowing multiple voices. The IP limit is better, but IP addresses can be shared on networks and can also be proximate to avoid detection. The best bid depends on something like an email address and forces the user to click on the email link to confirm the vote, although this is not great.

+1

, . , , ( cc..etc).

- , :)

, cheater , , . , , , , - - . , , .

IP-, . , geoip, whois..etc, WRT.

- , , . , , , , , , (flash, pdf, java... ..) , , ( )

cookie, , javascript, . cookie cookie. , cookie , , , -. .

. , , . , , , , , .

+1

. cookie . IP-. , IP- (- -), cookie . , cookie. 100% , , IP- cookie, . , , . cookie . , . .

0

, / .

0

, cookie /. IP- , .

- - , , - , , - , .

.

0

All Articles