Forum Discussion
Dan_Markhasin_1
Nimbostratus
Oct 25, 2015Blocking POST with ASM?
Hi,
I am wondering if there is anyway to disallow the usage of POST using an ASM policy? It seems to be allowed by default with no way to uncheck?
Thanks,
Dan
samstep
Cirrocumulus
Dec 02, 2015If you need to disable POST globally (e.g. you have a virtual server only serving static content) then one way of doing this is via an iRule.
when HTTP_REQUEST {
if {[HTTP::method] eq "POST"} {
reject
}
}
In ASM policy you can stop POST going through by setting the POST data length to 0 on the File Type and enabling blocking on "Illegal POST data length" violation.
Hope this helps,
Sam
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