PVWA - File size limitations

PVWA - File size limitations

97
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:56 PM


Question


What are the file size limitations in the PVWA?

Environment


10.10;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;14.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

Answer


There is no limit on file size in the download operation. In the upload operation there's a default limit of 10 MB which can be configured in the maxRequestLength parameter in the web.config file:
<httpRuntime maxRequestLength="10000"/>

10000 is the default value and is approximately 10MB.

Another way to change this setting is:

1. Open IIS Manager 
2. Click on PasswordVault Site Application 
3. Under IIS Section -> Click on Request Filtering 
4. In the Actions Pane, Click on Edit Feature Settings...
5. In the Request Limits, Change the Maximum allowed content length (Bytes) to (for example) 700000000 (approximately 700MB) 
6. Click OK and Reset IIS 

Another limit is that if the upload takes longer than 20 minutes it's aborted and fails. The problem in uploading large files is that the way ASP.NET works is to upload the whole file to memory so if you're trying to upload a 120MB file it means that 120 MB of the Web Server's memory are taken (only by this one file). Of course the web server might be doing other things at the same time. This will cause slowness or might even result in "The page cannot be displayed" error message.

The parameter for execution timeout can be changed in the web.config file:
<httpRuntime executionTimeout="300" maxRequestLength="10000"/>


Additional Information


Details

Q:

What are the file size limitations in the PVWA?

 

A:

There is no limit on file size in the download operation. In the upload operation there's a default limit of 10 MB which can be configured in the "maxRequestLength" parameter in the web.config file:

<httpRuntime maxRequestLength="30000"/>

30000 is the default value and is approximately 30MB

Another way to change this setting is:

 

1. Open IIS Manager 

2. Click on PasswordVault Site Application 

3. Under IIS Section -> Click on Request Filtering 

4. In the Actions Pane, Click on "Edit Feature Settings..." 

5. In the Request Limits, Change the Maximum allowed content length (Bytes) to (for example) 700000000 (approximately 700MB) 

 

6. Click OK and Reset IIS 

 

Another limit is that if the upload takes longer than 20 minutes it's aborted and fails. The problem in uploading large files is that the way ASP.NET works is to upload the whole file to memory so if you're trying to upload a 120MB file it means that 120 MB of the Web Server's memory are taken (only by this one file). Of course the web server might be doing other things at the same time. This will cause slowness or might even result in "The page cannot be displayed" error message.

The parameter for execution timeout can be added in the web.config file:

 

<httpRuntime executionTimeout="90" maxRequestLength="30000"/>

 

For more information, refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;295626




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000wYfCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail