- 0
mvc5 ActionFilterAttribute for duplicate submits & throttling?
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Gulikit KK3 Max - A premium controller with refined performance almost all the time
By mrk,
- controller
- gulikit
- (and 9 more)
- 4 replies
- 2 views
-
- 12 replies
- 3 views
-
- 5 replies
- 3 views
-
8BitDo's new Micro controller packs 16 buttons into a pocket-sized package
By Omer Dursun,
- nintendo
- nintendo switch
- (and 5 more)
- 2 replies
- 4 views
-
- 0 replies
- 4 views
-
Question
+Red King Subscriber²
Looking for feedback,
Researched this,
http://stackoverflow.com/questions/33969/best-way-to-implement-request-throttling-in-asp-net-mvc
Next up,
I wanted to prevent duplicate requests to a controller when the data is the same (for example to prevent multiple votes from the same IP for an anonymous internet poll).
This is what I pulled out of my hind quarters,
I am also thinking about querying the request for a cookie and adding it to the response just for an extra layer of protection.I am planning on using these two attributes together (most of the time), with Captcha & CRSF, on POST only ActionResults which give back JSON.
Is there any way that route data / request / response / action parameters can be null?
And how would you go onto specifying the parameters that need to be checked (if not all of them)? [PrevetDuplicateRequests(Params = "Foo,Bar")] ?
Edited by _AlexanderLink to comment
Share on other sites
0 answers to this question
Recommended Posts