Forum Discussion
mnocciolino
Nimbostratus
Jan 10, 2018What is the best way to block ajax requests?
I have a page running behind the F5, the application makes queries to a database through AJAX, however for a programming error they left part of the code open, and after the time we discovered that a...
nathe
Cirrocumulus
Jan 18, 2018What about an irule like this?
when HTTP_REQUEST {
if { [HTTP::header "X-Requested-With" ] equals "XMLHttpRequest" } {
drop
}
}
Or a custom ASM signature with the following rule?
headercontent:"XMLHttpRequest"; nocase;
To be honest, a bit of a punt this. Other DCers may come back and highlight major errors with these approaches 🙂
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
