0

I need StackExchange style human verification mechanism.

If client makes more than y requests per x seconds than 1) store "the request", 2) show human verification.

If client passes human verfication call "stored request".

But it must be global not page spesific. So I guess I need httphandler for this.

Oguz Karadenizli
  • 3,449
  • 6
  • 38
  • 73

1 Answers1

0

Create an action filter in which you identify user by cookie(or ip. both are not perfect), log request for user, retrieve request statistics for user, act accordingly.

this is very similar to AuthorizeAttribute

durilka
  • 1,399
  • 1
  • 10
  • 22