question

haji-2517 avatar image
0 Votes"
haji-2517 asked SomnathKumar-2560 answered

"File Upload Limit" that can be set by WAF

Hello.

I'm collecting information about setting up WAF for Application Gateway v2.
I have three questions about the file upload limit in the WAF settings.

1.
What is the file upload limit? What does this file upload refer to?
For example, is it the maximum amount of files that can be uploaded from the file upload button defined by the HTML < input type = "file" > tag?

2.
What error will I get if I exceed this limit?

3.
What happens if I omit this setting (leave it blank)?
Will I be able to upload files without limit?

Thank you.

azure-application-gatewayazure-web-application-firewall
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SomnathKumar-2560 avatar image
0 Votes"
SomnathKumar-2560 answered

Hello

1.
What is the file upload limit? What does this file upload refer to?
For example, is it the maximum amount of files that can be uploaded from the file upload button defined by the HTML < input type = "file" > tag?

No WAF enabled: 4GB on V2 SKU and 2GB on V1 SKU.
WAF enabled with OWASP version < 3.2: V1 SKU 100 MB and V2 SKU - 750 MB
WAF enabled with OWASP version >= 3.2 (preview) : V2 SKU 4GB

2.
What error will I get if I exceed this limit?

403 Forbidden

3.
What happens if I omit this setting (leave it blank)?
Will I be able to upload files without limit?

Default file upload size applied based on SKU and WAF enabled or not.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.