I assume my idea was the best anyone can come up with?

On Jun 27, 10:27 am, mscwd01 <mscw...@gmail.com> wrote:
> Hey,
>
> I am developing an app which "awards" users for visiting a specific
> link. However, I want to ensure this is not abused by people writing
> scripts to visit the link rather than manually viewing it.
>
> Is there a way to check how many times a specific IP address has
> accessed your application within the last minute and deny access if
> the visit count is higher than, say, 20.
>
> I guess I could use the memcache to insert the users IP (if they have
> not visited before), then on each subsequent visit check if the IP
> exists and if so increment the visit count. However, will this work if
> you have thousands of concurrent users?
>
> Is there a better way?
>
> Many thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to