Ignoring the GAE-side of the question, how are you planning on handling people who are behind proxies and routers? Multiple people will all look like they are coming from the same IP address - maybe this isn't an issue for you!
>From a GAE perspective you might want to do some reading around sharding counters. e.g. http://code.google.com/appengine/articles/sharding_counters.html On Jun 28, 12:17 pm, mscwd01 <[email protected]> wrote: > I assume my idea was the best anyone can come up with? > > On Jun 27, 10:27 am, mscwd01 <[email protected]> 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- Hide quoted text - > > - Show quoted text - -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
