Forum Discussion
Disabling ASM attack signature for file upload
Hi SteveD1979,
The request body handling control can be disable by checking on the content-type or a different specific header value.
"Content-type: multipart/form-data" header is sent on file upload. It may has a different value based on the application.
- SteveD1979Jan 18, 2024
Cirrostratus
Thanks for your reply. Does the 'Do nothing" option allow the customer to upload the file but keep the security policy in place for the URL? Or would we want to do the form data or another option?
- afr_jnFeb 01, 2024
Altocumulus
If the Content-Type matches to multipart/form-data (or: spesific file upload) for spesific URL, the body handling will do nothing. If the Content-Type does not mathes to multipart/form-data, such as Content-Type: text/html; charset=UTF-8, the body handling will apply value and content signatures.
- SteveD1979Feb 14, 2024
Cirrostratus
The filename can only be two different things. Is there a way to look at the payload and if it contains one of those file names allow the upload and keep the ASM policy in tact?
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