
You can easily limit the size of the document files to be uploaded 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 MaxDocumentSize element
which contains the value of max document file upload size limit (in kbs).
By default, it contains the following value:
<security
name="MaxDocumentSize">100</security>
You can modify the MaxDocumentSize element to meet your own
requirements.
For example:
<security
name="MaxDocumentSize">200</security>
C# Example:
Editor1.Setting["security:MaxDocumentSize"]= "200";
VB Example:
Editor1.Setting("security:MaxDocumentSize")= "200"