Forum Discussion
Blocking 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
2 Replies
- samstep
Cirrocumulus
If 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
- Dan_Markhasin_1
Nimbostratus
Thanks Sam, it does help! :)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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