Forum Discussion
APM policy block file upload
hi all,
for blocking of file upload, i know that ASM can do that, however, can we do it with APM policy?
Thanks,
3 Replies
- kunjan
Nimbostratus
I assume you want to block HTTP POST..
May be you can put the iRule under ACCESS_ACL_ALLOWED event to block HTTP POST method https://devcentral.f5.com/wiki/iRules.ACCESS_ACL_ALLOWED.ashx
- henry_kay_36032
Nimbostratus
so we have to utilize irule to achieve this. From APM policy, there is no macro to support this.
Thanks. shall try out the irule.
- kunjan
Nimbostratus
You may try as simple as:
when HTTP_REQUEST { if { [HTTP::method] equals "POST" } { reject } }
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