
You can easily limit the size of file upload folder using the following methods:
The security policy file (default.config, admin.config and
guest.config) can be found in the /CuteEditor/Configuration/Security folder. In
security policy file you can find the MaxDocumentFolderSize
element which contains the value of max file file upload size limit (in
kbs). By default, it contains the following value:
<security
name="MaxDocumentFolderSize">10000</security>
You can modify the MaxDocumentFolderSize element to meet your
own requirements.
For example:
<security
name="MaxDocumentFolderSize">20000</security>
C# Example:
Editor1.Setting["security:MaxDocumentFolderSize"]= "20000";or
Editor1.SetSecurityMaxDocumentFolderSize= "20000";
VB Example:
Editor1.Setting("security:MaxDocumentFolderSize")= "20000"
or
Editor1.SetSecurityMaxDocumentFolderSize= "20000"